Skip to content

ivan1993spb/snake-backend

Repository files navigation

Snake-Backend

WIP

Snake-Backend performs background operations with Snake-Server.

See: https://snakeonline.xyz/

How to start the backend

  1. Setup envs:
    echo "SNAKE_API_ADDRESS=https://snakeonline.xyz/api" > .env
  2. Start Redis:
    docker run --name redis --rm -d -p 6379:6379 redis
  3. Start workers. You have to start at least one:
    dramatiq lib.actors
  4. Start a scheduler:
    python scheduler.py

Features

  • Working with server API via CLI interface
    • Show basic information about server
  • Bots features
    • Manage a swarm of bots
  • Work with games
    • Create and delete games by schedule
    • Mass game creation
    • Export and import map proportions
  • Generating images of maps
    • Daemon - walk through games and generate images
      • By schedule

Game screenshots

examples/g8s75x25-big.jpeg

More screenshot examples here

Requirements

  • Snake-Server >= v4.3.0

License

See LICENSE.