Fixed: end-game conditions