First things first, we thought of a name: Key, Shovel, Treasure. We haven't definitively settled on this name, but I like it so far. The acronym KST has the sound of a fun game (using Key, Shovel, Pirates as a name would have made the reference a bit too obvious ;) and the Dutch translation alliterates nicely: Sleutel, Schep, Schat. Though I guess most of you don't speak / read Dutch. We'll let you know whether we decide to keep this name. I will use it in this post, since I think it's at least better than Pirate Game.
Compare the two screenshots below, form before and after the change:
And sometimes this made the game a bit too interesting, generating littoral corner cases as Michiel calls them:
Transferring items between players was pretty trivial. But adding teams to the game was much more work. Since I started Key, Shovel, Treasure as a programming exercise and didn't foresee that playing in teams would be a possible addition to the game, none of the code was made to handle team play. So I've had to make changes in nearly every script, from game logic to the map to the UI and the settings. Eventually, I got everything working (again).
On top of that, the AI needs to know what to do when in a team. I kept this pretty straightforward. The AI will hand over a key or shovel if it thinks that enables a team mate to claim the treasure the next turn. Other than that, the AI behaviour is still the same. Playtesting will show whether this is enough to ensure that the AI doesn't miss the most obvious opportunities.
Adding team play also meant that I had to redo the menu. This was on my list anyway, since it wasn't intuitive enough. The old and the new menus are here:
- The auto end turn code is now smarter, so if your turn doesn't end automatically there probably is something you can still do (if you don't want to do anything you can always end your turn by hitting enter).
- If the treasure is found by a player who doesn't have a key and a shovel, the treasure chest is still closed.
- Added the player colours to the settings screen
- The active player now has waves next to his / her ship.
- The default names for the four captains now are the blobbie names that correspond to that colour in Powargrid.
- You can now see a ship move, instead of having it skip from tile to tile instantaneously.
- Willem -