Cool game ! But i think I found a bug, I invaded the castle but the enemy still had one house, the game is frozen, don't know if you are aware of this bug :)
Okay, after looking at my code, I think I found it. Thanks for reporting it !