A browser-based worm/snake.io-style game with AI opponents, wrap-around world, minimap, and configurable settings.
- Serve the folder over HTTP (needed for config fetch):
- Python:
python3 -m http.server 8000
- Python:
- Open
http://localhost:8000in your browser.
- Arrow Keys / WASD: Move
- Space: Restart
- P: Pause/Resume
- Reload Config button: Reloads
config.csvwithout page refresh
- starting_length: initial segments for each worm
- ai_opponents: number of AI at start
- food_count: base number of foods if
food_ratio_per_wormnot set - tick_ms: tick speed (lower is faster)
- add_ai_every_ms: how often to spawn AI (ms)
- add_ai_count: how many AI to spawn each interval
- add_ai_every_score: spawn AI every X player score
- max_ai_alive: cap on total AI
- map_cols/map_rows: world size in grid cells
- food_ratio_per_worm: foods target = ratio × active worms
- mass_level_step: every N levels increase visual girth
- mass_growth_percent: girth percent per step
- mass_scale_cap: max girth scale
Edit the CSV and click Reload Config in HUD to apply.
- Wrap-around edges
- AI prioritizes hunting smaller worms, otherwise food
- Head-to-head: longer worm kills smaller; body becomes food
- Body collision: longer worm severs other; tail becomes food
- Minimap shows world, foods, worm heads, and viewport
(c) 2025 Clark & Burke, LLC. All Rights Reserved.