| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A programming game made with love for Railscamp in the tradition of treasure wars, brains, ant wars etc etc.
You are snake (snek). Your want to be biggest snek. Avoid other snek. Walls too.
You spawn at a random location.
Every 1 second you get a chance to submit a move ["N", "S, "E", "W"]. If you don't submit a move, you will move forward.
Every 5 ticks you will grown by one
If you hit a wall, your snek dies. If you crash into yourself, your snek dies. If you hit another snek, your snek dies. If another snek hits you, that snek dies. If you head on collide with another snek, both sneks die.
Become the biggest snek.
You connect to the server via websockets - there's a sample client and utility code in /client
You need to run 3 processes: the server, the client, and the game.
cd server bundle && yarn && rake db:create db:schema:load bundle exec rails server [new tab] cd server && bundle exec rake game:run [new tab] cd client bundle && yarn bundle exec ruby runner.rb
If you feel like chipping in there's loads of things you could do. Maybe:
| Back | FazBrowse Home | New Git URL |