Mancala T2D
by Jared Coliadis · in Torque Game Builder · 04/24/2005 (12:50 pm) · 3 replies
This is my first project for T2D. (Linux version coming later) I needed a smallish scale project to get used to how T2D works before I start on my "real" project. So by my girlfriend's request, I made a T2D version of Mancala. It's not complete yet, but it is very playable. It is only human vs. human right now with no network code yet. (Once I get some documentation on it, I'll be thrilled to add it.) I will also add a computer player in future versions. Of course, there are a lot of things that can be greatly polished, (I'm a programmer, not an artist) but I like how it looks so far. Who would have thought there would be particle effects in Mancala?
There were a couple rule conflicts when I researched all of the rules online, so I made this in the style that I usually play. Future versions may have options for alternate rules.
In case you haven't played Mancala before, here are the rules:
The bottom 6 bowls and the large scoring bowl on the right make up the bottom player's territory. The top 6 bowls and the large scoring bowl on the left make up the top player's territory. Each bowl starts with 4 stones in them. Players take turns selecting bowls. When a bowl is selected, all the stones are taken out of that bowl and one stone is added to each bowl counter-clockwise for each of the stones that were in the original bowl. When a stone reaches a player's scoring bowl, one stone is added to the scoring bowl. If it makes it all the way to the opposite player's scoring bowl, it is skipped and the stone is placed in the next bowl.
Example:
This is how the game is started:
0 444444 X
X 444444 0
The bottom player selects a bowl:
0 444455 X
X 444405 1
There are three additional rules:
- If the last stone dropped is in the player's scoring bowl, the player can go again.
Starting from the second example:
1 555055 X
X 444405 1
The top player would get another turn.
- If the last stone dropped is in an empty bowl on the player's side and there are stones opposite to the player's side, that player steals all of the stones opposite to him and the one stone on his side, and puts them all in the scoring bowl.
Stealing the top player's pieces:
1 555005 X
X 055505 7
- The game ends when all of the bowls on one side are empty. When this happens, all of the opposite player's stones are added to his own scoring bowl. (It's not always best to be the first to finish.)
Let me know what you think for my first effort in T2D.
Screenshot 1
Screenshot 2
There were a couple rule conflicts when I researched all of the rules online, so I made this in the style that I usually play. Future versions may have options for alternate rules.
In case you haven't played Mancala before, here are the rules:
The bottom 6 bowls and the large scoring bowl on the right make up the bottom player's territory. The top 6 bowls and the large scoring bowl on the left make up the top player's territory. Each bowl starts with 4 stones in them. Players take turns selecting bowls. When a bowl is selected, all the stones are taken out of that bowl and one stone is added to each bowl counter-clockwise for each of the stones that were in the original bowl. When a stone reaches a player's scoring bowl, one stone is added to the scoring bowl. If it makes it all the way to the opposite player's scoring bowl, it is skipped and the stone is placed in the next bowl.
Example:
This is how the game is started:
0 444444 X
X 444444 0
The bottom player selects a bowl:
0 444455 X
X 444405 1
There are three additional rules:
- If the last stone dropped is in the player's scoring bowl, the player can go again.
Starting from the second example:
1 555055 X
X 444405 1
The top player would get another turn.
- If the last stone dropped is in an empty bowl on the player's side and there are stones opposite to the player's side, that player steals all of the stones opposite to him and the one stone on his side, and puts them all in the scoring bowl.
Stealing the top player's pieces:
1 555005 X
X 055505 7
- The game ends when all of the bowls on one side are empty. When this happens, all of the opposite player's stones are added to his own scoring bowl. (It's not always best to be the first to finish.)
Let me know what you think for my first effort in T2D.
Screenshot 1
Screenshot 2
Torque 3D Owner Pat Wilson