Socket
Book a DemoInstallSign in
Socket

svelte-games

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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.

latest
Source
npmnpm
Version
0.1.8
Version published
Maintainers
1
Created
Source

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!

Quick Start

Installation

Install the package via npm:

npm install svelte-games

Usage

Simply import the game component and drop it into your Svelte project:

<script lang="ts">
  import TicTacToe from 'svelte-games/TicTacToe.svelte';
</script>

<TicTacToe />

Available Games

GameDescriptionImport Path
Tic Tac ToeA 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
SnapA 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
SnakeA 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
SudokuA 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
2048A 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 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.

Keywords

svelte

FAQs

Package last updated on 26 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts