Day 67/100 100 Days of Code

Day 67/100 100 Days of Code

Rebuild Back Better

I started working on creating a new method to reduce the number of repeating lines of code in the game method. The codebase has become hard to read and navigate. The main problem is the TextElement object, which is instantiated for every text that appears on the screen; this means that it needs to be used multiple times for each text element and platform.

The method will be called in the LoadMainMenu() method to remove all those lines from the game method.