https://github.com/notreeceharris/svelte-games
Some simple svelte game components you can use for waiting screens.
https://github.com/notreeceharris/svelte-games
Last synced: 5 months ago
JSON representation
Some simple svelte game components you can use for waiting screens.
- Host: GitHub
- URL: https://github.com/notreeceharris/svelte-games
- Owner: NotReeceHarris
- License: gpl-3.0
- Created: 2025-03-23T14:53:19.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-01T10:26:56.000Z (about 1 year ago)
- Last Synced: 2025-09-17T13:55:15.801Z (9 months ago)
- Language: CSS
- Homepage: https://doodad-labs.github.io/svelte-games/
- Size: 493 KB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# svelte-games
**Small, interactive games designed for loading or wait screens.** Easily import these lightweight, customizable game components into your Svelte projects to keep users entertained during downtime.
[🎮 Play some of the games now!](https://doodad-labs.github.io/svelte-games/)
## Quick Start
### Installation
Install the package via npm:
```bash
npm install svelte-games
```
### Usage
Simply import the game component and drop it into your Svelte project:
```svelte
import TicTacToe from 'svelte-games/TicTacToe.svelte';
```
## Available Games
Game | Description | Import Path
--- | --- | ---
**Tic Tac Toe** | A classic strategy game where you face off against a bot on a 3x3 grid. Aim to get three of your marks in a row (horizontally, vertically, or diagonally) to win. | `svelte-games/TicTacToe.svelte`
**Snap** | A fast-paced matching game on a 4x4 grid. Race against the clock to find and match all pairs of cards before time runs out. | `svelte-games/Snap.svelte`
**Snake** | A classic arcade game where you control a growing snake. Navigate the snake to eat food and grow longer, but avoid colliding with the walls or yourself. | `svelte-games/Snake.svelte`
**Sudoku** | A challenging logic-based number puzzle. Fill a 9x9 grid so that each row, column, and 3x3 subgrid contains all digits from 1 to 9 without repetition. | `svelte-games/Sudoku.svelte`
**2048** | A addictive sliding tile puzzle game where you combine numbered tiles on a 4x4 grid. Swipe to move tiles, merge matching numbers to reach the elusive 2048 tile—or go even higher! | `svelte-games/Two048.svelte`
## License
This project is licensed under the **GPL-3.0 License**. For more details, see the [LICENSE](LICENSE) file.
## Contributing
Contributions are welcome! If you have ideas for new games or improvements, feel free to open an issue or submit a pull request.
Enjoy adding a touch of fun to your Svelte projects!
*Built with ❤️ by [Doodad Labs](https://github.com/doodad-labs).*