WarriorJS
Battle enemies, learn JavaScript fundamentals, and grasp basic AI concepts through an exciting game.
Battle enemies, learn JavaScript fundamentals, and grasp basic AI concepts through an exciting game.

Code-driven combat
write JavaScript to control character actions and defeat enemies
Progressive difficulty
levels introduce new concepts from basic syntax to conditional logic and functions
Immediate feedback
see results of your code instantly as your warrior acts
AI mechanics
understand how enemy behaviour and pathfinding algorithms work by interacting with them
Browser-based
no installation required; play directly on the website
Introducing programming to beginners who respond better to games than tutorials
Teaching conditional logic and functions through practical application
Exploring how AI decision-making works in a simple, visual format
Practising JavaScript syntax in a context where mistakes have immediate consequences
Supplementing formal coding education with hands-on problem-solving