The moves of each user are gonna be stored in a seperate field like so:1)user enters person to battle, 6 attack and 6 block moves
2)Defender responds by accepting the challenge and doing the same
3)Afterwards both are treated to some sweet kung fu action where the winner is shown based on the moves each picked.
Code: Select all
123213:132121
attack 1, attack 2, attack 3, attack 4, attack 5, attack 6:block 1, block 2, block 3, block 4, block 5, block 6
the same is repeated for the defenders move field
Sincerely,
Aleeious