3 Introduction to Wet Pancake
Craig Oates edited this page 4 years ago

This repository is home to the Wet Pancake (W.P.) project. At a basic level it is a typical Visual Studio solution. Within it, there are three smaller projects. They are a .Net 4.7 library, a console program and a testing library. I wrote the console program in C# and the other two in F#.

The purpose of this repository is to provide a way for people to generate random text. It does this using a Markov Chain and prepared plain text (.txt) files. Just so you know, you can feed it your own .txt files if you want.

The features provided in the repository are accessible to you via NuGet and as a console program. Please note, the console program is a stand-alone version, so it does not come with on installer. To learn how to add W.P. to your project via NuGet and/or use the console program, use the following links:

I set the solution up with the console program referencing the NuGet package; and, the TestCentre (the testing library) referencing the other two. To help explain what I mean, below is a diagram illustrating the relationship.

project relationships

Why This Repository Exists

This project started out as a test project. It was not my intention for it to grow to what it is now -- granted, it is still not massive. At first, I wanted to see how well Console.Waterworks (C.W.) worked with F#. This meant I need to learn F# -- which I was dabbling with at the time. To help me learn F#, I decided to use a project called FsMarkov as a reference -- a goal to work towards if you will. Because of these factors, the code-base has taken the shape it has. (That and the more I used F# the more I wanted to keep using it.)

I think it is fair to say I did not start this project with the intention of applying the best development practises. And, the goal of making a NuGet package is one which came somewhat after the initial play period. So, if you find yourself wanting to scream at me for glaring and obvious mistakes, please be kind. Thanks.