Web browser with ES6 compatibility Examples: Chrome, Safari
Ruby Bundler
Installation is quick and easy! First you can open this link to see the webpage in action live online. Or you can clone this repository to your machine, navigate to the file path in your terminal, and run 'app.rb' by typing '$ruby app.rb'. If you chose to clone the repository, after you run 'app.rb' you will need to copy the localhost path into your web browswer. The standard localhost for Sinatra is port 4567
- Ruby
- Sinatra
- HTML
- CSS
- Bootstrap https://getbootstrap.com/
- ES6
- Jquery https://jquery.com/
behavior | input | output |
---|---|---|
Use initialize method to create a new Tamagotchi and set the name and life level | ||
Use is_alive method to check if Tamagotchi is alive based on food level > 0 |
Copyright © 2017