Follow along with the Intro Slides here.
The instructor will provide a connection IP for the classroom KSP server.
This can be run locally, on the same network or on a service such as Cloud9
- Learn some basic Computer Programming History and Terms
- Learn basic control flow in Ruby
- Launch a rocket 🚀
- Implement a launch method
- Code a Rocket Class in rocket.rb
- Launch a bigger rocket 🚀
- Implement a game loop to check fuel of stage
- Launch a unreasonable large rocket 🚀
If using Cloud9
- Create a new project
- Under clone from Git or Mercurial URL copy and paste
git@github.com:rposborne/launching-rockets-with-ruby.git
-
If you are using Cloud9, you will need to use ngrok or open a port on your router to allow student access.
-
Craft files are in a folder called ships, these can be dropped into your save folder
- Iron Rocket 2w is my fav
- If using steam ~/Library/Application Support/Steam/steamapps/common/Kerbal Space Program/saves/nameofyoursavedgame/ships/VAB/