Giter VIP home page Giter VIP logo

zhaw-catan's Introduction

Catan

Catan is a board game that simulates the building and development of a settlement on a fictional island.

Getting started

Clone the repository

  1. Open the repository in the IntelliJ IDE and navigate to the App.java file.
  2. Click Execution Symbol Run next to the Current File option on the toolbar.
  3. The program is compiled and started accordingly. After that the commands listed below can be used in the console.

Available commands

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.

Features

  • Basic functionality
  • Hexboard with coordinate system
  • Winning animation
  • Cities extension
  • Robber extension

Classdiagram

Without dependencies

classdiagram

With dependencies

classdiagram

zhaw-catan's People

Contributors

boostvolt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.