Im attempting to make a turn based game with multiple attacks that work like Rock Paper Scissors. Iv chosen to simplify it since I know nothing about coding lingo.
I'm stuck with having the enemy attack randomly, and attacking on his turn. I followed the C3 tutorial on turn based combat and have been slowly cutting it up and moving things around to work to my liking, but I'm stuck.
I have 3 different "elements" that act as Rock, Paper, and Scissors. The elements are fired by the player and the enemy towards each other. When the elements collide they do damage to the player who loses the RPS. But I'm not sure how to randomize the enemy's attack to choose one of the three, and for the player and the enemy having to select their option before the combat begins.