Added validations for game.rb.