jeudi 20 décembre 2018

Ludo game with talkative output

I need to make Ludo game of 2 players, each player has 4 figures. The length of the board is 12. The output needs to be in talkative mode:

Blue, out: 4, home line: . | . | . | . (home starts before 1)
Red , out: 4, home line: . | . | . | . (home starts before 7)
01 02 03 04 05 06 07 08 09 10 11 12 
.  .  .  .  .  .  .  .  .  .  .  .

Indicating which player throws the dice and what number came out and the move of each figure on the plan, for example:

Red throws 6 (cannot move)

Blue, out: 3, home line: . | . | . | . (home starts before 1)
Red , out: 3, home line: . | . | . | . (home starts before 7)
01 02 03 04 05 06 07 08 09 10 11 12 
.  .  B1 .  .  .  R1 .  .  .  .  .  

Red throws 5

Blue, out: 3, home line: . | . | . | . (home starts before 1)
Red , out: 3, home line: . | . | . | . (home starts before 7)
01 02 03 04 05 06 07 08 09 10 11 12 
.  .  B1 .  .  .  .  .  .  .  .  R1 

I have managed to get the talkative form but I have problems with the movements of the figures and their placement into the home (home line: etc.) and combine it with the dice. Can anyone help me, please? I would really appreciate it.




Aucun commentaire:

Enregistrer un commentaire