'''lecture_21_racquetball.py Build a terminal-based racquetball game simulation using top-down design Oliver W. Layton CS 151: Computational Thinking: Visual Media Spring 2021 Rules: - Players hit ball back and forth in the count. - Game starts by a player serving, like tennis. - Game played by players hitting ball back and forth (player A hits, then B, then A, then B...) Back and forth is called rally (like in Tennis). - The rally ends when one player fails to hit the ball during a rally - The point ends when the rally ends. - The loser was the one who failed to hit ball back during the rally. - Score only increases by 1 if winner also served. - If the loser was the one who served, the other player serves now. - e.g. if B was serving and fails to hit ball, now A serves. - IMPORTANT: Game ends when one player gets 15 points. - Rule: Player A always starts serving Question: If player A and B played in a championship (many games) who would win? print('This program simulates a game of racquetball between two', 'players called A and B. The abilities of each player is', 'indicated by a probability (number between 0 and 1) that', 'the player wins the point when serving. Player A always', 'has the first serve.') ''' def main(): pass if __name__ == '__main__': main()