battle_round function calls the
bob functions, which determine what Alice and Bob will play respectively. Currently these two functions return hard-coded results, with Alice always playing paper, Bob always playing rock. It’s the Hollywood principle - “You don’t call us, we’ll call you”
To turn this into an actual game, you’d have to edit these two methods, such that the choice for each round would be based on eg what a real-life player picks, or be based on the previous moves of the other player if you want to implement a computer opponent.
Chances are that, for your first draft, the
battle_rounds function can remain untouched. All it does is call
bob, and grant points according to who won the current round.