WarriorJS is an educational programming game designed to teach and challenge JavaScript skills through interactive gameplay. In the game, players control a warrior who must climb a tower filled with enemies, captives, and obstacles in pursuit of a legendary JavaScript Sword located at the top. Each floor of the tower presents a new challenge that requires players to write JavaScript code to instruct the warrior on how to move, fight enemies, rescue captives, and safely reach the stairs to the next level. WarriorJS combines game mechanics with programming concepts, allowing players to experiment with logic, algorithms, and problem solving while progressing through increasingly difficult levels. WarriorJS can be played through a command line interface, enabling developers to interact with the game directly in a terminal environment. It is organized as a modular monorepo containing several packages that implement the core game engine.
Features
- Educational programming game focused on learning JavaScript concepts
- Command line interface that allows the game to be played in a terminal
- Progressive tower and level system with increasing difficulty
- Ability-based gameplay including actions and environment sensing
- Scoring system that rewards efficiency and successful objectives
- Extensible design that allows creation of custom towers and levels