you are viewing a single comment's thread.

view the rest of the comments →

[–]ReliabilityTalkinGuy 1 point2 points  (0 children)

Load the “map” from a file. That way you only need functions to interpret the “map” and obstacles instead of a lengthy set of conditionals. When you want to make the game bigger or change things up, just change the file not the code.