Β·OngoingΒ·
10
Sign in or sign up to participate

Snake

Snake is a classic video game where the player attempts to guide the snake around the screen, eating food to grow longer and avoiding its own tail 🐍

Snake

Snake is a classic video game where the player attempts to guide the snake around the screen, eating food to grow longer and avoiding its own tail. The game ends when the snake crashes, and the player's score is based on the length of the snake at the time of the crash. 🐍

Your goal is to build a Python bot that will make the snake grow as long as possible. There are numerous ways to approach this competition at many different levels of complexity, e.g. searching, heuristics, Voronoi diagrams, cycles, etc. What creative solutions can you come up with? πŸ‘€

Getting started

To get started, clone and follow the instructions in our getting started repository:

git clone https://github.com/DoxaAI/snake-getting-started

Evaluation

Your score will be the average across three games, each of which may last up to a minute. There is also a cap of 2000 moves, so you will want to try implementing a non-naΓ―ve strategy!