This is an unofficial Scala version of the BOHNANZA game for Software Engineering classes at HTWG Konstanz.
Bohnanza is a card game that revolves around trading and planting beans. Each player has a hand of bean cards, which they must plant in the order they are drawn. Players can trade beans with each other to manage their fields more effectively. The goal is to collect sets of the same type of bean and then harvest them to earn coins. The player with the most coins at the end of the game wins. The game is known for its unique rule that players cannot rearrange the order of cards in their hands, which adds a strategic layer to trading and planting decisions.
- Interactive GUI, Text-based UI (TUI)
- Singleplayer/Multiplayer mode
- Great looking Artwork
- Playable with up to 4 players
- Player can have several beanfields
- Player has coins
- Bean cards can be drawn from the deck to the players hand
- Bean cards can be drawn from the deck to the turnoverfield
- Bean cards can be planted from the players hand or the turnoverfield on the players beanfields
- Bean cards can be harvested from the players beanfield and turned into coins
- Player can buy the third beanfield
- Game ending
- Trading between Players
- Docker: Install Docker from Docker's official website.
- Docker Compose: Ensure Docker Compose is installed. It usually comes bundled with Docker Desktop.
- VcXsrv: Install VcXsrv, an X-server for Windows, from VcXsrv's official website. This could differ to other os systems.
- Clone the repository.
git clone https://github.com/JOMI195/Bohnanza.git
-
Start VcXsrv (X-Server) for GUI to host forwarding.
-
Build and Run with Docker Compose:
docker-compose run --service-ports bohnanza-game