Finished Smart Targeting, and made the game end when somebody lost.