This SvelteKit project allows players to enjoy the Werewolf game without physical cards. Create a game with custom player counts and roles, then invite your friends to join using their smartphones.
Use this link to access the project: werewolf
- Create custom games with flexible player counts and role selections
- Join games using smartphones
- Automatic role assignment
- Includes multiple roles, and new ones can be added easily
- Create a new game by clicking the "Nouvelle Partie" (New Game) button
- Set up the game with desired player count and roles
- Share the game link with your friends
- Wait for all players to join
- Once everyone has joined, roles will be assigned automatically
The game includes roles from three categories.
Each role comes with a name, description, and associated image.
- The project uses SvelteKit as the framework
- Tailwind CSS is used for styling
- DaisyUI components are utilized.
- Role data is stored in
$lib/cards.json
To use this project, you will need the latest version of bun installed of your machine.
- Clone the repository
- Install the dependencies using
bun install
To run the project, use the following command:
bun run devThe project will be available at localhost:5137.
Contributions are welcome! Feel free to open an issue or submit a pull request if you have any improvements to suggest.