My 15-112 Term Project, The Box Game (so called because the starting protagonist is a box) is an open, randomly generated world that the player can freely modify. It uses a chunk-based scrolling system, where if the player moved to the furthest edge of any screen it scrolls to the next. The player is able to build in the starting, center square.
The enemies move based on the simple A-star artificial intelligence algorithm. The algorithm is modified slightly to incorporate the ranged enemies, but is relatively consistent. The enemies take terrain into account, and terrain is able to block projectiles.
The game was initially planned to feature four protagonists, but due to time constraints only two were implemented. Each protagonist is programmed with a special ability and a unique fighting style, with a corresponding range.
The project also features a grid-based crafting system with hardcoded recipes, similar to Minecraft. It involves resource management, and the player can gather more resources by either destroying terrain or killing enemies.
Also, the game features a fully functional debugging menu, including manual terrain and enemy generation, an immortality mode, and other features.
Finally, the project features a final boss, named Adam, who uses melee and ranged attacks and deals significant damage, and can be found on the bottom-left chunk. All other enemies are randomly generated on world creation.