What I wanted to make
I built a top-down adventure game where the player explores rooms, collects keys, opens gates, fights enemies, and searches for an Enchanted Chalice. The repository credits the classic Atari 2600 Adventure by Warren Robinett as the inspiration. My version is a browser project built with HTML, CSS, and JavaScript.
How I worked with Cursor
I used Cursor to help generate and revise the code. I described the room layout and the interactions I wanted, then used prompts to develop features such as collisions, inventory, gate opening, and combat. I also asked for a neon-style border and a display for inventory and status.
This was AI-assisted development. I made choices about the experience and used the tool to implement them; I am not claiming that I wrote every line myself.
How the game fits together
The game draws its world on an HTML canvas. The JavaScript stores the player’s position, health, inventory, and current room, along with lists of objects, gates, enemies, and walls. The animation loop updates the game and draws the result.
Keys go into the inventory and are consumed when a nearby locked gate is opened with the spacebar. The code includes wall checks, enemy health, click-to-attack handling, and a win condition for returning the chalice to the starting room. The current source defines ten named rooms, although the README still describes an earlier five-room version.
The challenge: connected rules
The difficult part was making several rules work together. Movement needed to respect walls and gates; a collected key needed to change what the player could do; combat needed to update health; and the status display needed to explain what had happened.
In my post, I described using Cursor to build those systems by breaking the behavior into specific requests. I did not preserve a detailed before-and-after bug log, so I still need to add a concrete example of something that failed and the change that fixed it.
The result and what comes next
I documented the game with a screenshot, a walkthrough link, and a GitHub repository. The source contains the main systems described above. A complete play-through and a record of known bugs still need to be added before I describe the game as fully tested.
I would next check the routes between rooms, the attack rules, and the win condition, then bring the README into line with the code. Keeping a short log of each change would help me explain both what Cursor generated and what I learned by testing it.
