https://github.com/marcelja/plcte
back to the future based programming
https://github.com/marcelja/plcte
Last synced: about 1 month ago
JSON representation
back to the future based programming
- Host: GitHub
- URL: https://github.com/marcelja/plcte
- Owner: marcelja
- Created: 2017-05-03T08:57:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-04T20:01:37.000Z (over 8 years ago)
- Last Synced: 2025-01-18T05:28:06.511Z (12 months ago)
- Language: Ruby
- Homepage:
- Size: 241 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# "Back to the Future"-based Programming
* Install Ruby 2.4
* Install pry gem: `gem install pry`
### `example.rb`
* Run `ruby example.rb`
* Now a REPL should start. You can call some methods of the `test` object (e.g. `test.method1()`).
### `pacman.rb`
* Run `ruby pacman.rb`
* Execute `p.eat_dot` or `p.hit_ghost` several times and see what happens.