Catan is a board game that simulates the building and development of a settlement on a fictional island.
- Open the repository in the IntelliJ IDE and navigate to the
App.java
file. - Click
Run
next to theCurrent File
option on the toolbar. - The program is compiled and started accordingly. After that the commands listed below can be used in the console.
Command | Description |
---|---|
DISPLAY_BOARD | Print the current state of the game board to the console. |
DISPLAY_PLAYER_RESOURCES | Shows the current resource amounts for a given player. |
DISPLAY_BANK_RESOURCES | Displays the current number of each resource type in the game bank. |
DISPLAY_STRUCTURE_COSTS | Shows the cost of building each type of structure in the game. |
DISPLAY_SCORES | Displays the current scores of all players in the game. |
TRADE | Allows players to exchange resources with the bank. |
BUILD_ROAD | Allows a player to build a road at a specified location on the game board. |
BUILD_SETTLEMENT | Allows a player to build a settlement on an empty intersection on the game board. |
BUILD_CITY | Allows a player to build a city on an existing settlement on the game board. |
NEXT_TURN | Advances the game to the next player's turn. |
QUIT | Allows the user to exit the game. |
- Basic functionality
- Hexboard with coordinate system
- Winning animation
- Cities extension
- Robber extension