Set up Cursor Cloud dev environment + document run/test workflow#2
Draft
jpt4 wants to merge 1 commit into
Draft
Conversation
Co-authored-by: jpt4 <torreaiworks01@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sets up the development environment for the Strait of Hormuz tower-defense project (Node self-play tooling + single-file browser game) and documents the non-obvious run/test workflow for future cloud agents. No application code was modified.
## Cursor Cloud specific instructionssection toAGENTS.mdcovering: no build step / empty lockfile, thenpm test/npm run test:extendedcommands, how to serve and playhormuz-game.html, and gotchas (browser placement zones, nowindowgame API,self-play/run.js balanceauto-commits, shared headless/browser game logic).npm ci.Verification
Environment validated end-to-end:
npm ci— clean, 0 vulnerabilities (no runtime deps).npm test— 23/23 pass (5 suites).npm run test:extended— headless game smoke passes; engine places units and runs a full ~7300-tick game.python3 -m http.server 8000; loadedhormuz-game.html, in-browser regression suite auto-ran (132/136; the 4 failures are pre-existing ADR-0005 adaptive-difficulty checks unrelated to setup), and completed the hello-world action of placing defensive units (FUNDSdrops $500M→$250M for ASCM Battery, then by $45M for Drone Swarm) which then engage enemy waves.Hello-world play (unit placement)
hormuz_unit_placement_demo-2.mp4
ASCM Battery placed: FUNDS dropped to $250M, unit inspection panel + range ring
In-browser regression suite results in console
test_output.log
To show artifacts inline, enable in settings.