Help, play bowling

I’m new at developing the game, and I’m doing a bowling game, but I want to play turn-based versus computer or a CPU or an automatic player, but I do not know how to do it, I do not know how to play against the computer I can find a tutorial with this information? Thank you.

You can build something really simple, try to simulate a random throw of a ball.
You didn’t give information on how the game work, so I can’t really say more than that…

Start here

It is true I did not give much information, what I want to achieve is a game where the user launches shifts and the other computer, thanks for your answer