Back to Parent

3. Programming the game

We then drafted the state flow of the game and built the code without adding complicated light effects. In this step, we built and tested the code piece by piece so that it's easier for us to debug it. According to the National Association of City Transportation Officials, an average wait time at red light is 60 - 90 seconds. Assuming someone takes 1 second to press a button on average, we decided to make 50 times as a threshold that won't take too long or too short.


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0