Git Product home page Git Product logo

mancala's Introduction

Mancala

The Mancala board is made up of two rows of six pockets. Initially 4 stones are placed in each of the 12 pockets where each player has a store called Mancala to his right side of the Mancala board. The goal of the game is to collect the most pieces by the end.

The game starts with one player picking up all of the pieces in any one of the pockets on his side & counter-clockwise, the player deposits one of the stones in each pocket until the stones run out. If you run into your own Mancala, deposit one piece in it. If you run into your opponent's Mancala, skip it and continue moving to the next pocket. If the last piece you drop is in your own Mancala, you take another turn.

You can play in stealing mode by doing so: If the last piece you drop is in an empty pocket on your side, you capture that piece and any pieces in the pocket directly opposite and put it in your Mancala.

When all six pockets on one side of the Mancala board are empty the game ends. The player who still has pieces on his side of the board when the game ends, capture all of those pieces. Count all the pieces in each Mancala. The winner is the player with the most pieces.

Video (demonistration)

you can find the game captured in action with all fucntions in this video : https://www.youtube.com/watch?v=wBvOHpsNktU

mancala's People

Contributors

bodasadallah avatar omarhatem97 avatar omarahmed98 avatar doaahesham avatar shimaa-mohamed avatar

Watchers

 avatar

Forkers

omarahmed98

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.