Giter VIP home page Giter VIP logo

waterloo-catan's Introduction

Waterloo-Catan

A Waterloo themed game based on the Settlers of Catan game. Board based on the environment of the University of Waterloo. As per University regulations and rules only the header files and object files are included.

Compilation

Makefile is included. Use the command make in unix environment. It will compiled with the program name Watan and can excecuted with the command ./Watan

Command Line Interface

  • -seed xxx sets the random number generator’s seed to xxx
  • -load xxx loads the game saved in file xxx
  • -board xxx loads the game with the board specified in the file xxx instead of using random generation
  • -enhance adds color to the board
  • -bank adds the bank trading option to the game

Commands For Beginning of Turn

  • load: sets the dice of the current student to be loaded dice
  • fair: sets the dice of the current student to be fair dice
  • roll: rolls the current student’s dice

Commands For End of Turn

  • board: prints the current board
  • status: prints the current status of all students in order from student 0 to 3
  • criteria: prints the criteria the current student has currently completed
  • achieve <#>: attempts to achieve the goal at <#>
  • complete <#>: attempts to complete the criterion at <#>
  • improve <#>: attempts to improve the criterion at <#>
  • trade <colour> <give> <take>: attempts to trade with student giving one resource of type and receiving one resource of type
  • next: passes control onto the next student in the game.
  • save <file>: saves the current game state to
  • help: prints out the list of commands

alt text

waterloo-catan's People

Contributors

tttzach avatar rafelia-uw avatar tamagoeggo avatar

Stargazers

Frank Yi 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.