Thanks to visit codestin.com
Credit goes to github.com

Skip to content

augustinbegue/werewolf

Repository files navigation

Loup Garou - Online Werewolf Game

Description

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

Features

  • 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

How to Play

  1. Create a new game by clicking the "Nouvelle Partie" (New Game) button
  2. Set up the game with desired player count and roles
  3. Share the game link with your friends
  4. Wait for all players to join
  5. Once everyone has joined, roles will be assigned automatically

Role Categories

The game includes roles from three categories.

Each role comes with a name, description, and associated image.

Project Structure

  • 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

Getting Started

Prerequisites

To use this project, you will need the latest version of bun installed of your machine.

Installation

  1. Clone the repository
  2. Install the dependencies using bun install

Running the Project

To run the project, use the following command:

bun run dev

The project will be available at localhost:5137.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request if you have any improvements to suggest.

About

Play werewolf with your friends without physical cards

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published