Completed Game Logic