Hi. I want to make a men's morris game that includes 3 men's morris,9 men's morris and 12 men's morris.
Actually, I have a lot problem with it.
I want to know how can I move my men in 3 part:
1. create men and placing pieces: The game begins with an empty board. If a player is able to place three of his pieces in a straight line, vertically or horizontally, he has formed a mill and may remove one of his opponent's pieces from the board and the game.
Also you have just 3(for 3 men's morris), 9(for 9 men's morris)and 12(for 12 men's morris)that should at first place them all.
2. moving pieces: after placing all men ,then should move the men just in one step to left or right or up or down.
3. Fly: When a player is reduced to three pieces, there is no longer a limitation of moving to only adjacent points: The player's men may "fly", "hop", or "jump" from any point to any vacant point.
Do you think I need array?
For AI what should I do?
If just answer one of them I'll grateful to you, and try to do rest of them.