![]() Further, on careful counting I observed that this pattern repeats itself 21 times, resulting in 126 spaces that are a standard color (including the licorice and shortcut spaces).īut what about the specialty spaces? It turns out that whenever they appear, they are just inserted into the main pattern, and do not change it.Īll of this lends itself to an easily-implemented library. Note that the standard spaces always appear in a pattern: red, purple, yellow, blue, orange, green. ![]() Of the two, the more difficult problem is the BoardSpaces. However, the first thing we need to do is figure out how many Cards and BoardSpaces a standard game as. Now that we've got our basic classes defined and ready to go, we can start programming the game. This is the second part of a two-part series detailing how to simulate the Hasbro board game Candy Land as a C# console project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |