When | Mood | Music |
2012-04-13 15:05:00 | awake | White Noise – Stiff Little Fingers |
And now
- The ogre is automatically created when the swamp is created. (There’s a boolean to record whether he’s present/alive. This will be useful in deciding whether the game should end.
- I can count the enemies currently threatening the ogre.
So:
- Create swamp and ogre
- Will an enemy arrive?
- Yes – here it is!
- Move the denizens:
- How many enemies currently threaten the ogre?
- Will another enemy arrive?
- Yes – here it is!
- Move the denizens:
- How many enemies currently threaten the ogre?
Now I can decide whether to have a battle and then work out the outcome.