Ah, the good old days of optimizing turns instead of database queries. Pretty sure a few friendships died over this game.