├── .babelrc ├── .gitignore ├── LICENSE ├── README.md ├── assets ├── WASD.png ├── arrowKeys.png ├── audio │ ├── complexTheme.ogg │ └── simpleTheme.ogg ├── body.png └── snakeSprite.png ├── docs └── notes.md ├── index.html ├── package.json ├── src ├── classes │ ├── food.js │ └── snake.js ├── index.css ├── index.js └── scenes │ ├── baseScene.js │ ├── game.js │ ├── loading.js │ ├── menu.js │ ├── onlineMenu.js │ └── title.js ├── webpack.common.js ├── webpack.dev.js ├── webpack.prod.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-object-rest-spread"] 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /node_modules 3 | /build 4 | yarn-error.log 5 | 6 | /ideas 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/README.md -------------------------------------------------------------------------------- /assets/WASD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/assets/WASD.png -------------------------------------------------------------------------------- /assets/arrowKeys.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/assets/arrowKeys.png -------------------------------------------------------------------------------- /assets/audio/complexTheme.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/assets/audio/complexTheme.ogg -------------------------------------------------------------------------------- /assets/audio/simpleTheme.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/assets/audio/simpleTheme.ogg -------------------------------------------------------------------------------- /assets/body.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/assets/body.png -------------------------------------------------------------------------------- /assets/snakeSprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/assets/snakeSprite.png -------------------------------------------------------------------------------- /docs/notes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/docs/notes.md -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/package.json -------------------------------------------------------------------------------- /src/classes/food.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/src/classes/food.js -------------------------------------------------------------------------------- /src/classes/snake.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/src/classes/snake.js -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/src/index.css -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/src/index.js -------------------------------------------------------------------------------- /src/scenes/baseScene.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/src/scenes/baseScene.js -------------------------------------------------------------------------------- /src/scenes/game.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/src/scenes/game.js -------------------------------------------------------------------------------- /src/scenes/loading.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/src/scenes/loading.js -------------------------------------------------------------------------------- /src/scenes/menu.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/src/scenes/menu.js -------------------------------------------------------------------------------- /src/scenes/onlineMenu.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/src/scenes/onlineMenu.js -------------------------------------------------------------------------------- /src/scenes/title.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/src/scenes/title.js -------------------------------------------------------------------------------- /webpack.common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/webpack.common.js -------------------------------------------------------------------------------- /webpack.dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/webpack.dev.js -------------------------------------------------------------------------------- /webpack.prod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/webpack.prod.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christopherbot/ouro/HEAD/yarn.lock --------------------------------------------------------------------------------