Git Product home page Git Product logo

ipsen1-quarto's Introduction

IPSEN1 - Quarto!

This project is related to the IPSEN1 assignment, given by Hogeschool Leiden.

Assignment

The given assignment is to digitize a physical board game. The digital game should cover all the steps and rules as the physical version requires.

Quarto, the game

In short, the quarto game has an 4x4 board with 16 different pawns. The pawns all share properties from each other. A total of 4 properties are available:

  • tall or short;
  • red or blue (or some other pair of colors, such as light or dark stained wood);
  • square or circular;
  • hollow or solid.

Players take turns on placing the pawn on the board. Once a turn is done, the current player gives his opponent a new pawn to place on the board. Players can not choose they're own pawns, as there opponents choose these for them.

The goal is to make a row of 4 pawn with at least sharing 1 of the 4 properties. e.g. 4 tall pawns.

Once a shared row is made, the player needs to yell "QUARTO!" to win a round.

If the current player does not see the matching row, but the opponent does, he may yell "QUARTO!" once his new pawn is retrieved.

If both players do not see the matching row within 1 turn, the row becomes 'invalid' and "QUARTO" may not be yelled upon that row.

Building a JAR

To build a jar, run mvn jar:jar. You can find the jar in the target/ folder.

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.