Files
basic-computer-games/15_Boxing
Martin Thoma f52d9a0e54 Clean Code: Python
Fix issues found by flake8-bugbear:

* Unused loop variables
* assert statements in non-test code
* mixing test code with production code
* mark one excessive test which takes ~10min to run
  as 'slow'
2022-03-18 14:59:08 +01:00
..
2022-03-05 09:29:23 +01:00
2022-03-05 09:29:23 +01:00
2022-03-18 14:59:08 +01:00
2022-01-02 19:06:19 -05:00

Boxing

This program simulates a three-round Olympic boxing match. The computer coaches one of the boxers and determines his punches and defences, while you do the same for your boxer. At the start of the match, you may specify your mans best punch and his vulnerability.

There are approximately seven major punches per round, although this may be varied. The best out if three rounds wins.

Jesse Lynch of St. Paul, Minnesota created this program.


As published in Basic Computer Games (1978):

Downloaded from Vintage Basic at http://www.vintage-basic.net/games.html