Skip to content

sqrt-negativeone/KALAH-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KALAH-GAME

KALAH also called MANCALA is a game played on a board of two rows, each consisting of six round pits that have a large store at either end called kalah.
The object of the game is to capture more seeds than one's opponent.

Discover more about the rules of the game on this file .

Kawtar CHOUBARI and I ( Mouad FAKHRI ) have coded this game on C language with a graphic interface using SDL 2.0 . The interface is shown on French as it was a school project for ENSIAS (National School of Applied Sciences in Rabat, Morocco).

📷 Interfaces

When you open the game, this is the home interface where there is a Play button (Jouer) at the buttom of the window.

alt text

Then, you can choose between playing a new game (nouvelle partie) or loading one (charger une partie).

alt text

If you choose creating a new game, you can fill some information to play : name of the game, number of seeds initialized on each pit (4,5 or 6) , name of the first and second player. An UNDO (revenir à l'arrière) and NEXT (suivant) buttons are placed at the buttom of each frame.

alt text alt text alt text alt text

And here is it, you can start playing with your friend. The name of the player who's turn to play is written on red.

alt text

However, if you choose loading a previous game, a list of games saved previously is shown like so, you can type a valid name to continue playing.

alt text

On the main game, there is a home icon right up, if you click on it, a menu is shown where you can either create a new game, load one or resume the previous one (reprendre la partie).

alt text alt text

Here is the winner interface after the end of the game.

alt text

📱 Coding interfaces

We've organised each frame as a menu linked by buttons, here is the summary:

alt text

The different types of buttons used:

alt text

🔧Tools

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published