Skip to content

AznIronMan/wormy.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wormy.io

A browser-based worm/snake.io-style game with AI opponents, wrap-around world, minimap, and configurable settings.

Quick Start

  1. Serve the folder over HTTP (needed for config fetch):
    • Python: python3 -m http.server 8000
  2. Open http://localhost:8000 in your browser.

Controls

  • Arrow Keys / WASD: Move
  • Space: Restart
  • P: Pause/Resume
  • Reload Config button: Reloads config.csv without page refresh

Configuration (config.csv)

  • starting_length: initial segments for each worm
  • ai_opponents: number of AI at start
  • food_count: base number of foods if food_ratio_per_worm not 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.

Gameplay Notes

  • 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

License

(c) 2025 Clark & Burke, LLC. All Rights Reserved.

About

Wormy.io is a browser-based snake.io-style game with AI opponents, wrap-around world, camera-centered view, minimap, dynamic food, and smart collisions (kill/sever/reroute). Fully CSV-configurable with pause, restart, and live config reload. Built with SVG for clean visuals.

Topics

Resources

Stars

Watchers

Forks

Contributors