Skip to content

A two-player, turn-based, pass-and-play game inspired by the classic board game Splendor.

Notifications You must be signed in to change notification settings

RuxinZ/Fruit-bowl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍍 Fruit Bowl

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!

ezgif-2-ab958e8583

🚀 Get Started

Fork and clone the repo. Install all dependencies.

npm install

Run an instance of Fruit Bowl

npm run dev

🛠️ Technologies

  • JavaScript
  • React
  • Node.js
  • Express.js
  • MongoDB
  • Vite

💪 Current Features

  • 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.

🚧 Currently working on

  • 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.

🤝 Contributing

Fruit Bowl welcomes all contributions, issues, and feature requests!

About

A two-player, turn-based, pass-and-play game inspired by the classic board game Splendor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published