- The easiest way to design the interface is by sketching it out on paper.
- To design the code, write out a list of steps it will have to perform in English.
This is known as an algorithm and is just like the steps in a food recipe. Solving problems like this is what programming is really about, rather than entering
commands on the computer.
All good programmers design algorithms before starting to code
Currently the two classes are working on two different game designs - Maze Game & Chase Game. The first step in the design process was to determine the general objective and rules of the games. From their the pairs had to determine the specific conditions of their individual games and then identify the major components:
- The Start
Below is a sample of their initial attempt at designing algorithms for their games: