Posted by Andrew Wegener on October 30th, 2012
Here is pseudocode for my game which I call “Strategic Luck.” While the first half is just notes and brief directions for my game, the bottom is pseudocode. I learned that pseudocode is, simply put, a human-worded version of the code. Basically, a sketch of what you predict the code will look like – or an outline.
I thought this was dumb. I always imagine the code in my mind beforehand to make sure it’s feasible, this was only writing it down. Turns out, even for how short and simple my pseudocode is, this was quite helpful. It’s outlines the main loop of the game. Aside from a few functions, syntax, and technicalities, the pseudocode is a simplified version of the code for my game.