Skip to content

Instantly share code, notes, and snippets.

@jmcarthur
Created January 16, 2011 18:26
Show Gist options
  • Save jmcarthur/782013 to your computer and use it in GitHub Desktop.
Save jmcarthur/782013 to your computer and use it in GitHub Desktop.
+-------+-------+
| | |
| A1-> | <-B |
| | |
+-------+-------+
| ^ | |
| A2 | |
| | |
+-------+-------+
The rules are:
* For all units that are moving *at* each other (A1 and B in the
example), fight them and kill the loser(s).
* Move all remaining units.
* Fight any units that are on the same square.
In this example:
1. A1 and B fight.
If A1 wins:
2. A1 moves to B's former location and A2 moves to A1's former
location.
If B wins:
2. A2 and B both move to A1's former location and fight there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment