lib/games/tictactoe/input_helper.rb in games_bfox-0.2.0 vs lib/games/tictactoe/input_helper.rb in games_bfox-0.3.0
- old
+ new
@@ -63,9 +63,16 @@
get_user_input("#{game.current_player_name}, please enter the number of the square that you would like to change.", "Invalid entry. Please try again.") do |input|
game.available_choices.include?(input)
end
end
+ def initial_instructions
+ io.present_with_new_line("TIC TAC TOE")
+ io.present_with_new_line("___________")
+ io.present_with_new_line("Type \"Exit\" to quit the game.")
+ io.present_with_new_line("___________")
+ end
+
def draw_prompt
io.present_with_new_line("Draw! Please try again.")
end
def winning_prompt(current_player_name)
\ No newline at end of file