Giter VIP home page Giter VIP logo

is2game's Introduction

Software Engineering II - 2017

Exercise of modeling a board game for teaching purpouses.

The game simulates a board game, with multiple players over a circular path of tiles, won by the first player to complete a number of laps around the board.

  • Movement is determinated by dice rolls
  • Some tiles may have effects over the player/players
  • Some tiles will make the player draw cards, which also have effects over the player/players

Requirements for first iteration

  • Support N sided dice
  • Support M dices with varying sizes
  • Game supports more than one player
  • Number of laps per game can be configured
  • Turn order must be enforced
  • Winner is accessible once the game has ended

Requirements for second iteration

The game board has randomly generated tiles with effects.

Each tile has probability of bein placed on the board upon generation.

tile effect probability
Atomic Bomb Everybody goes back to the beginning 2%
Empty None 40%
Moonwalk Everybody else goes back N tiles 5%
Speed up Advance 4 tiles 15%
Time machine Player goes back to previous turn position 23%
Wormhole Go back 4 tiles 15%
  • All tile effects implemented
  • Moonwalk number of tiles can be configured
  • Time machine goes to previous turn, not at the beginning of the current one:
    1. Position: 3. Roll: 2, Land on 5 Empty, no effects
    2. Position: 5. Roll: 4, Land on 9 Time machine, go back to position 3
    3. Position: 3. ...
  • Board can be randomly generated based on the given probabilities

is2game's People

Contributors

serpi90 avatar

Watchers

James Cloos avatar Inés Sosa 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.