Welcome to the Settlers of Catan game implementation in C++! This project aims to recreate the popular board game Settlers of Catan in a text-based format using the MVC (Model-View-Controller) design pattern.
The Settlers of Catan is a strategy board game where players collect resources and use them to build roads, settlements, and cities on a hexagonal board. The goal is to earn victory points by expanding and developing settlements.
- Player Actions: Build roads, settlements, and cities; trade resources; buy and use development cards.
- Resource Management: Collect resources (wood, brick, sheep, wheat, ore) based on dice rolls.
- Game Rules: Follows the basic rules of Settlers of Catan, including the robber mechanic and resource distribution.
The project is structured into the following directories:
- model/: Contains the core logic and data structures (Player, Tile, Settlement, Board, etc.).
- controller/: Manages game flow and rules enforcement (Game). It is also contains the view that handles user interface and interactions (text-based output and input handling).
Clone the repository and compile the code using a C++ compiler:
git clone https://github.com/SagitMalka/Catan.git
cd Catan
makeRun the compiled executable to start playing the game:
./catanFollow the on-screen prompts to play the game and make your moves using the provided menu options.
Contributions are welcome! If you'd like to contribute to improving this implementation or adding new features, please fork the repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details