The cap'n gave ye an order: get as many coins as ye can before the time ends and don't get caught by those scurvy rats! Each coin ye get gives ye one point and some extra time. If an enemy pirate gets the coin first, ye lose one point. If a pirate touches ye, ye lose all coins and 3 * coins seconds of time, and the pirate will insult ye (of course). After 5 seconds, the coin will disappear and a new one will appear at a different random place.
Control the cat with the arrow keys. Toggle background music off/on with the "m" key. For an easier game, toggle pirates "emotion" with the "e' key: - Red pirate: will chase ye following the shortest path. This will happen randomly, or if ye get close to a pirate. - Blue pirate: will try to steal the coin following the shortest path. This will happen randomly or if a pirate gets close to a coin. - Regular pirate: will roam around to random locations in the maze. The pirate's AI uses a pre-computed list which contains the shortest path to each maze cell to look up the next direction for the pirates to follow. Music is Drunken Sailor, coded in Scratch. Coin collected effect is a hat tip to Ecstasy of Gold by Ennio Morricone :)