Hero image

Mr King's Code Shop

Average Rating4.00
(based on 8 reviews)

Resources and activities for python and javascript.

Resources and activities for python and javascript.
The Pirate Game GUI
ClassimagoClassimago

The Pirate Game GUI

(2)
The Pirate GUI Take your end of term “Pirate Game” to the next level with this graphical interface. Simply click the Go! button to randomly select a grid reference. One of the players needs to select the next square? No problem! Select the square on the map and then press Go!. The squares on the map change color as they are selected and the turn order is recorded in the captains log. Files included so page can be used offline. Simply extract the folder and open index.html in a web browser.
The 'Pyrate' Game
ClassimagoClassimago

The 'Pyrate' Game

(1)
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.