Snake Game Automation Bot

Job ID: 39954760

Budget: $30 – $250 USD

I need a small, reliable script that can load the web-based snake game hosted on damnbruh.com and take full control of the snake’s movement. The goal is simple: keep the snake alive as long as possible while maximising the score, all hands-free.

Core requirements
• Detect game state in real time (current direction, food location, collision risk)
• Generate and send the necessary keyboard events to steer the snake intelligently
• Run unattended until the round ends, then report the final score in the console or a log file

Technical notes
– A headless option is welcome, but the bot must also work in visible mode so behaviour can be observed while testing.
– JavaScript with Puppeteer or a lightweight Python solution (Selenium + webdriver, Playwright, or direct JS injection) are all acceptable; choose whichever gives the most stable control.
– The code should be self-contained: one command to install dependencies, one command to run.

Acceptance criteria
1. From a fresh clone and install, I can launch the script and watch the snake move autonomously.
2. The bot consistently lasts noticeably longer than a randomly moving snake (subjective benchmark: at least 2× the average manual play score).
3. No external paid APIs or compiled binaries—everything must be open source and redistributable.
4. Clean, well-commented code plus a short README covering setup, usage, and any configurable parameters.

That’s all that’s needed; once the script hits those marks, the task is complete.