Skip to content

About

A real-time multiplayer Bingo game built with React, TypeScript, and Socket.io, featuring responsive design, single-player mode, and dynamic room management.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Multiplayer Bingo Game 🎲

A real-time multiplayer Bingo game built with React, TypeScript, and Socket.io, featuring responsive design, single-player mode, and dynamic room management.

Features

  • Single and Multiplayer Modes: Play solo or with friends in real-time.
  • Dynamic Room Management: Create or join rooms with unique room IDs.
  • Responsive Design: Fully optimized for mobile and desktop devices.
  • Auto-play Functionality: Automatically call Bingo numbers for a seamless experience.
  • Real-Time Updates: Instant updates for all players in a room.
  • Winner Celebration: Confetti for the winner and a message for other players.

Prerequisites

Ensure you have the following installed:


Getting Started

1. Clone the Repository

git clone https://github.com/your-username/bingo-game.git  
cd bingo-game

2. Install Dependencies

Using npm:

npm install  

3. Set Up Environment Variables

Create a .env file in the root directory and add the following:

VITE_SOCKET_URL=http://localhost:3001  

Running the App

Start app

npm run dev  

By default, the app will run at http://localhost:5173.


Scripts

  • npm run server: Starts the Socket.io server.
  • npm run dev: Starts the development server for the client.
  • npm run build: Builds the React app for production.

Tech Stack

  • Frontend: React, TypeScript, CSS Modules
  • Backend: Node.js, Express, Socket.io
  • Styling: Tailwind CSS

Roadmap

  • Add user avatars.
  • Implement dark mode.
  • Add localization for different languages.

License

This project is licensed under the MIT License.


Contributing

Contributions are welcome! Please open an issue or create a pull request for any suggestions or improvements.


Contact

For any questions, feel free to reach out:

Enjoy playing Bingo! 🎉

About

A real-time multiplayer Bingo game built with React, TypeScript, and Socket.io, featuring responsive design, single-player mode, and dynamic room management.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages