Created
January 27, 2015 04:10
-
-
Save jdecuirm/0a62aa6a795ce852bdb0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require './map.rb' | |
| require './engine.rb' | |
| require './scene.rb' | |
| require './hero.rb' | |
| puts "Hello, welcome to Medieval Kingdom!, first we have to create your character." | |
| puts "Please tell me your name: " | |
| print "> " | |
| hero_name = $stdin.gets.chomp | |
| hero = Hero.new(hero_name) | |
| map = Map.new('old_house',hero) | |
| puts "Ok thank you #{hero.name}. Now Let's begin the journey." | |
| engine = Engine.new(map) | |
| engine.play() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment