[RULE CHANGE] *Changed rule for Bombs*, tweaking vixen agent
Previously, contact with a Bomb destroyed the Bomb even if the attacker was not a miner. Now, the only way to destroy a Bomb (ever) is to attack it with a miner. Yes, this means that if the enemy Flag is surrounded by Bombs and and AI has lost all its miners, it is impossible to win. This reflects the rules of the original game. My version is now identical to the original game. My original rule was intended to decrease the emphasis placed on Bombs and Miners. Having played a few games, I think the traditional Bomb rule is more interesting, even if it makes things harder for the AI. If there are any problems with this change, please email [email protected] I will be happy to revert to the previous rules if there is demand. This also goes for the change to equivelant ranks combat (earlier commit today). Updated vixen agent's scoring to take into account the change. Yet to update asmodeus's scoring. The AI's seem to have a much harder time now that they have to take out Bombs Games often result in draws, because the Miners are easy targets and get killed whilst seeking out Bombs. The AI should probably defend certain pieces with stronger piece combinations nearby. But this is all getting rather complex for a "sample" :P TODO: Implement victory condition when opponent has no mobile pieces (Currently play continues until the player with mobile pieces ends up attacking Bombs because it has nothing else to do at which point the game is a draw because neither player has mobile pieces)
... | @@ -94,11 +94,11 @@ GAME RULES | ... | @@ -94,11 +94,11 @@ GAME RULES |
5 Captain 5 4 | 5 Captain 5 4 | ||
6 Lieutenant 6 4 | 6 Lieutenant 6 4 | ||
7 Sergeant 7 4 | 7 Sergeant 7 4 | ||
8 Miner 8 5 Destroys Bombs without being killed | 8 Miner 8 5 Destroys Bombs | ||
9 Scout 9 8 May move more through multiple empty squares | 9 Scout 9 8 May move more through multiple empty squares | ||
s Spy 10 1 If the Spy attacks the Marshal, the Marshal dies | s Spy 10 1 If the Spy attacks the Marshal, the Marshal dies | ||
B Bomb NA 6 Immobile. If any piece (except a Miner) encounters an enemy Bomb, both pieces are destroyed | B Bomb NA 6 Immobile. If any piece (except a Miner) attacks an enemy Bomb, that piece is destroyed. | ||
F Flag NA 1 Immobile. If any piece encounters the enemy Flag, the controlling player wins. | F Flag NA 1 Immobile. If any piece attacks the enemy Flag, the controlling player wins. | ||
Additional pieces, not controlled by the player: | Additional pieces, not controlled by the player: | ||
Piece Name Number Notes | Piece Name Number Notes | ||
... | @@ -116,6 +116,9 @@ GAME RULES | ... | @@ -116,6 +116,9 @@ GAME RULES |
The objective is to destroy all Enemy Pieces (#) or capture the Enemy Flag (also #). | The objective is to destroy all Enemy Pieces (#) or capture the Enemy Flag (also #). | ||
Since 20/12 Bombs reflect the traditional rules; they are only destroyed by Miners. | |||
In previous versions contact of an attacker other than a Miner with a Bomb destroyed the Bomb as well as the attacking piece. | |||
PROTOCOL | PROTOCOL | ||
In order to interface with stratego, an AI program must satisfy the following protocol. | In order to interface with stratego, an AI program must satisfy the following protocol. | ||
... | @@ -216,8 +219,12 @@ EXIT/OUTPUT | ... | @@ -216,8 +219,12 @@ EXIT/OUTPUT |
BUGS | BUGS | ||
Occasionally the result is not printed at the end of the game. | |||
So far this has only been observed to occur when RED wins the game by Flag capture. | |||
stratego is still a work in progress. Report another bug to the AUTHOR (see below). | stratego is still a work in progress. Report another bug to the AUTHOR (see below). | ||
AUTHORS | AUTHORS | ||
Sam Moore (for the UCC Programming Competition 2012) <[email protected]> | Sam Moore (for the UCC Programming Competition 2012) <[email protected]> | ||
... | ... |
Please register or sign in to comment