Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sagitmalka10@gmail.com

Settlers of Catan Game

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.

Overview

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.

Features

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

Project Structure

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

Installation

Clone the repository and compile the code using a C++ compiler:

git clone https://github.com/SagitMalka/Catan.git
cd Catan
make

Usage

Run the compiled executable to start playing the game:

./catan

Follow the on-screen prompts to play the game and make your moves using the provided menu options.

Contributions

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.

License

This project is licensed under the MIT License - see the LICENSE file for details

Screenshots

Board

b

City (in node 30)

b

Dice

b

Robber

b

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages