Categories
Game Development Personal Development

Thousander Club Update: March 12th

For this week’s Thousander Club update:

Game Hours: 262.25 (previous year) + 50.25 (current year) = 312.5 / 1000
Game Ideas: 616 (previous year) + 5 (current year) = 621 / 1000

I couldn’t easily add new code to handle a menu system, so I spent some time cleaning up and refactoring existing code. Things are definitely easier to modify now that they are in separate functions. For instance, I separated out the code to handle initializing the main timer, which means that when I put a menu system in and need it to start a new game, I can simply call that function instead of worrying about updating individual variables.

There are still a few more areas of code that need updating, but I can easily see how a menu system could interact with the game now that I have a few more functions to call. Starting a new game from a menu option is going to be much easier with a function called initializeNewGame(), which will be much easier to write when the individual components involved in initializing a game are also simple function calls.