Day 14
Sadly, nothing visual has been done today. I'm deep into implementing "World Simulation" (projecting the state of the game after actions). It kinda works and already shows me some result. Here's an example:
- Before - [WorldSimulation : [[EntityRepresentation Billy @ (5, 3, -4) : 12/120], [EntityRepresentation Benjy @ (7, 3, -2) : 192/192], [EntityRepresentation Bobby @ (2, 2, -3) : 150/150]]] - Move - -> SKIP - Attack - -> OK [WorldSimulation : [[EntityRepresentation Billy @ (5, 3, -4) : 12/120], [EntityRepresentation Benjy @ (7, 3, -2) : 165/192], [EntityRepresentation Bobby @ (2, 2, -3) : 150/150]]]
Roughly here, a first version will take the first move and attack filter and will try to make to move an entity then make it attack. Here it failed to move to an enemy safely before casting the attack (probably because I didn't try that filter that tries to move out of attack range nor made an "attack from the safiest point even if you could take damage" filter)