P&N Title

 

 

 

 

 

 

 

Pirates&Navy second video first video Pirates&Navy

 

 

Each graphic on the left (ships, island, home, monster) is a link to a downloadable graphic. Most of the image at right is a link to the partial code. The extra graphic on right, "pirate's den," is also a link. One of the objects link to a short game video.

The game is a major upgrade from the first version. First, the grid is bigger. Second, each time you play the game it re-configures so that the permanent objects (pirate ship, island, etc.) on the game map vary randomly (same spot can have any of the permanent objects, including just water). Just use random method calls constrained by the number of game objects in the game matrix from the first version. Last, it now has a roaming sea monster that has the ability to eat the British ship. Note: The style sheet in the code is not important.

How to Get Back Points You Miss On Quizzes:

Optional elements (extra credit): (1) sound for winning (cheering), crew rebellion (angry mob), and being eaten by the monster (belch); (2) add a hurricane to the game with the ability to destroy the ship, and move around like the monster. Use old mechanics but modify them for new behavior.

Submit full game code via email (in-line) as well as printed code, and lots of screen captures of your ship at sea. You might be asked to demo your game in class.