This is the first hack I've properly done for a hackathon. The idea here was to combine my desire to make an app that was fun and engaging with my hope that I could create something with some kind of long-term use or payoff beyond just entertainment value. The game is loosely inspired by predecessors like Grid World or Karel the Robot.
What it does
The user plays a game where they must type basic functions (moveRight(), moveLeft(), etc.) to navigate a spaceship along a path towards a destination. As the levels pass, the paths become more complex and the player must learn to combine new commands. Eventually fog, enemies and other obstacles will force the player to think creatively and use if-statements, for-loops and while-loops to make their way to their destination. The aim of the game is to gradually introduce the player to more advanced programming concepts with each level, intending to teach not only how programming works syntactically but also some deeper lessons about the nature of abstraction.
How I built it
Challenges I ran into
Accomplishments that I'm proud of
I think that the game is designed in such a way that a relatively small amount of player inputs can result in a fairly large variety of possible challenges; I think this is a prototype with a lot of potential that could eventually become a much longer, very interesting educational experience.
What I learned
What's next for TBD: An Educational Game
I'd like to add more levels, and eventually get into adding enemies or other obstacles with independent AI (so the player will have to create methods to dodge enemies or stay still while they move past, etc.). I'd also like to add more detailed instructions (and possibly even a story!) to guide a new player along.