Skip to content

FilipChalupa/Smart-Snake

Repository files navigation

Smart Snake

Installation

npm ci
npm run build

How to run

npm start

Run client and server. Visit http://localhost:8080.

AI players

To spawn an AI player press a or i key. Then sit and watch.

The a inteligence has been developed by @FilipChalupa. The i by @LukasChalupa.

Human players

To play by yourself press Enter and use left and right arrows to navigate. Alternatively you can press Enter second time to spawn another player which navigates by k and l keys.

Jarjar watching the game played by AI

Development

Client

npm run client

Server

npm run server

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •