Factory Wars
Lane-defence homebrew game for the Nintendo DS, written in C

Overview
A lane-defence game in the style of Plants vs. Zombies for the Nintendo DS, written in C with devkitPro and NightFox’s Lib. I made it with Mario Beltrán García and Edward Alejandro Mena Ordóñez for the Game Consoles course at Universitat Jaume I. You defend your factory from waves of machines, spending resources on turrets and on modules that generate more income.
What I did
- Split the game across the DS’s two screens: gameplay and touch controls on the bottom, information on the top.
- Stylus input for placing turrets on the grid.
- Sprite and background handling within the DS’s memory limits.
- Enemy waves, turrets, projectiles and collisions.
Result
- Awarded Matrícula de Honor (top honours) in the course.
- The ROM runs on emulators and on real hardware with a flash cart. Download on itch.io.