Skip to content

ashelkov/snake_bot_challenge

Repository files navigation

EPAM Bot Challenge

JavaScript Bot that takes 7th place in finals

Snake battle

JavaScript Bot example for UI challenge

Useful Links

Quick Start

Following steps will execute demo bot in browser and will connect it to game server

  • Copy game URL and replace it in .env file
  • Install NodeJS
  • Install dependencies: npm install
  • Start test page: npm run start
  • Open browser in http://localhost:PORT/

How to write your bot

Open /src/bot.js file and replace example code with your own

function getNextSnakeMove(board) {
    // Your code goes here
}

About

epam bot challenge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages