├── .gitignore ├── src ├── main.js ├── models.js ├── store.js ├── input.js ├── map.js ├── snake.svelte └── snake.js ├── .vscode └── settings.json ├── screenshot.png ├── docs ├── favicon.png ├── 404.html ├── index.html └── bundle.js ├── public ├── favicon.png └── index.html ├── package.json ├── ts ├── store.ts ├── models.ts ├── input.ts ├── map.ts └── snake.ts ├── README.md ├── rollup.config.js └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | /public/build/ 3 | 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- 1 | import Snake from './snake.svelte'; 2 | 3 | export default Snake; 4 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "svelte.plugin.typescript.diagnostics.enable": false 3 | } -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogakoreli/svelte-snake-web-component/HEAD/screenshot.png -------------------------------------------------------------------------------- /docs/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogakoreli/svelte-snake-web-component/HEAD/docs/favicon.png -------------------------------------------------------------------------------- /public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gogakoreli/svelte-snake-web-component/HEAD/public/favicon.png -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |