Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ldgit/snake
Basic Snake clone
https://github.com/ldgit/snake
snake-game svelte
Last synced: 12 days ago
JSON representation
Basic Snake clone
- Host: GitHub
- URL: https://github.com/ldgit/snake
- Owner: ldgit
- License: gpl-3.0
- Created: 2021-01-31T01:00:10.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-10T19:30:04.000Z (10 months ago)
- Last Synced: 2024-10-05T08:05:30.146Z (about 1 month ago)
- Topics: snake-game, svelte
- Language: TypeScript
- Homepage: https://ldgit.github.io/snake/
- Size: 798 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Snake
[![build](https://github.com/ldgit/snake/workflows/build/badge.svg)](https://github.com/ldgit/snake/actions?query=workflow%3Abuild)
A basic [Snake]() clone made using [Svelte](https://svelte.dev/) framework.
You can try it [here](https://ldgit.github.io/snake/). Use `w` `a` `s` `d` keys to move and `p` to pause the game.
## Usage
To start development: `npm run dev`
To run tests: `npm run test:all`
Build and run production version of the app:
- `npm run build`
- `npm run preview`