Skip to content

KevinByrne/random_number_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

random_number_game

First few lines of code added

Principal learning points

  • puts/prints
  • creating variables
  • Using gets and gets.chomp method to prompt for user input
  • Using Interpolation
  • Calling 'rand' method and adding a maths operator
  • converting an input or string to an Integer using .to_i method
  • Using if/elsif conditional statements
  • Using boolean values and setting a variable to a default boolean value

About

Random number game from Head First Ruby book

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages