A classic snake game written as a test assignment to join Neotech Development frontend team.
- Installed
node.js
- Either
npm
oryarn
package manager
git clone git@github.com:sergetymo/snake-2017.git && cd snake-2017
npm install
oryarn
npm run build
oryarn build
This puts standalone, transpiled and ready-to-use version into dist/
folder.
- Vanilla JavaScript using ES6 and ES7 features.
- Webpack and Babel to transpile code into browser-executable JavaScript.
- Native DOM API to manipulate nodes.
- Pluggable renderer interface to implement, for example, console-based output.
You also can use vim
movement keys (hjkl
) to control snake.