zip, 2.46 KB
zip, 2.46 KB
The “Pyrate” Game: A python script for playing “The Pirate Game”

For use with worksheets by Paul Collins.

Getting Started

Requires python to be installed on your computer. Simply extract the file from the compressed folder and double click to run. The script can also be run through python IDLE.

Playing the Game

Press enter to start when prompted. The script will generate a random coordinate each turn. Coordinates will not be repeated during the game. If required, you can choose the next coordinate by pressing 1 and enter when prompted. The script will check the coordinate you have entered to prevent duplicates, and the turn number will be updated accordingly.

Pirate-themed ASCII art will be displayed randomly throughout the game. Press enter after the Game Over prompt to end the game.

Creative Commons "Sharealike"

Review

5

Something went wrong, please try again later.

helencopete

6 years ago
5

Fabulous! My students loved how this added to the ‘paper’ Pirate Game. Thank you for sharing, iI can’t wait to see more!

Report this resourceto let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.