Fruit Bowl is a two-player, turn-based, pass-and-play game inspired by the classic board game Splendor. It is a full-stack, single-page React project.
It is currently under construction. Please contact me if you have any suggestions/feedback. Thank you!
Fork and clone the repo. Install all dependencies.
npm install
Run an instance of Fruit Bowl
npm run dev
- JavaScript
- React
- Node.js
- Express.js
- MongoDB
- Vite
- A login page that allows two players to register their names.
- Assign a random player to start the game.
- Generates the board with a randomized order of cards from the MongoDB database.
- A transition page that uses two different colors and the name of the player to identify the current player.
- Change the perspective of the board based on the current player.
- Updating the data for the current player's gem number according to the card they click on
- Keep track of the current score for each player.
- Visual feedback for user interaction.
- A game-end page that displays a message declaring the winner.
- Visual feedback for user actions, like confirming selecting a card.
- Automatically update the player board when the score changes.
- Replace the card with a new one after a player purchases it.
Fruit Bowl welcomes all contributions, issues, and feature requests!