![Bingo Game](/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F42mdi8hd%2Fproduction%2Feb904b346a123a97e7e25b251887d52941a56cd0-1919x914.png&w=3840&q=100)
Welcome to Bingo - An Online Dual Player Game
Bring your friends together and enjoy a fun, interactive game of Bingo, anytime, anywhere!
The Bingo project is an interactive and engaging online game designed for two players. The game allows players to join and compete in a bingo game by creating a game code. The project is built using Node.js and offers seamless gameplay, with additional features like an in-game chat and automatic pause in case of a disconnection. This lightweight web application does not require a database, and it offers users a smooth gaming experience with a simple UI/UX design.
Key Features
- Dual Player Mode: Two players can join and play the game online by entering a unique game code.
- Auto Pause: The game automatically pauses if one of the players gets disconnected, ensuring that the session is not lost.
- In-Game Chat: Players can communicate in real time with a built-in chat feature, adding an extra layer of interaction to the game.
- Restart Game: The host player can restart the game at any time, allowing both players to play again without generating a new game code.
- Custom Game Codes: Players can create their own custom game codes by inputting a secret PIN in the "Join Game" code box. Game codes and pins must begin with a letter and can only include alphanumeric characters.
- No Database Required: The game is built without a database, making it lightweight and easy to run.
How to Play
- Create a Game: The host player generates a game by clicking the "Create Game" button.
- Join the Game: The second player enters the unique game code generated by the host in the "Join Game" box to join the game.
- Enjoy the Game: Players take turns marking their cards while interacting via the in-game chat.
Technologies Used
- Node.js: For creating the backend of the game.
- Socket.IO: For enabling real-time communication between players.
- HTML/CSS/JavaScript: For front-end development and the game's UI/UX design.
Custom Game Code Feature
The game also includes a hidden feature where players can create their own custom game codes by entering a secret PIN. This unique feature allows for more personalized game sessions. The secret PIN and game codes should be alphanumeric and start with an alphabet. To manage custom codes, players can edit the config.bin
file in any text editor.
This project highlights my ability to develop an interactive and real-time multiplayer game using JavaScript and Node.js. The game’s user-friendly interface and seamless player experience make it an enjoyable pastime for friends or casual players.