Files
basic-computer-games/17_Bullfight
Martin Thoma 3b2739b8a2 Clean Code: Apply flake8-simplify to Python
Also flake8-comprehensions which was added to the CI

For flake8-simplify, there are a few false-positives,
e.g. https://github.com/MartinThoma/flake8-simplify/issues/115
2022-03-18 22:29:56 +01:00
..
2022-01-03 02:13:21 -05:00

Bullfight

In this simulated bullfight, you are the matador — i.e., the one with the principle role and the one who must kill the bull or be killed (or run from the ring).

On each pass of the bull, you may try:

  • 0: Veronica (dangerous inside move of the cape)
  • 1: Less dangerous outside move of the cape
  • 2: Ordinary swirl of the cape

Or you may try to kill the bull:

  • 4: Over the horns
  • 5: In the chest

The crowd will determine what award you deserve, posthumously if necessary. The braver you are, the better the reward you receive. Its nice to stay alive too. The better the job the picadores and toreadores do, the better your chances.

David Sweet of Dartmouth wrote the original version of this program. It was then modified by students at Lexington High School and finally by Steve North of Creative Computing.


As published in Basic Computer Games (1978):

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