GithubHelp home page GithubHelp logo

shemplo / mankals-game Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 440 KB

Repository related to board-game MANKALS

License: Apache License 2.0

Java 94.46% CSS 5.54%
java javafx java-8 javafx-application board-game game entertainment indie minigame classic

mankals-game's Introduction

Mankals game (Манкалы)

Classic board game with long history, now is implemented for PC

Rules

Game consists of desk with cells. On each of players' sides there are 6 cells (named player cells) and two more special cells on the right and the left of the desk (named base).

Players play step-by-step. Each turn player can choose not-empty cell with rocks, takes them all and then put by one on the next cells. If player has no more his cells, he has to put one rock in his own base and continue put rest rocks to cells of his opponent. If opponent has no more his cells, then player skip opponent's base and do again by the new circle.

For better understanding let's see the example of game:

1. Before the game

This is game desk before the first turn

2. After turn of 1st player

First player selected his #4 cell with 4 rocks and decomposed them (1 in base and 2 in opponent's cells)

3. Bonus turn for 2nd player

If player finished to put rocks in his own base then he has one more turn

4. After turn of 2nd player

It's usual turn

5. Capturing of 1st player

If player finished decomposition on his cells (make full circle or not finished the first) that was empty and opponent's cell on other side not-empty, then player capture opponent's cell with all his rocks.

6. Continue game till the end

Funny bugs features

1. Win98 style

mankals-game's People

Contributors

shemplo avatar

Watchers

 avatar  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.