Skip to content

rposborne/launching-rockets-with-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Launch Rockets with Ruby

A follow along ruby lesson using KSP

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

Goals

  1. Learn some basic Computer Programming History and Terms
  2. Learn basic control flow in Ruby
  3. Launch a rocket 🚀
  4. Implement a launch method
  5. Code a Rocket Class in rocket.rb
  6. Launch a bigger rocket 🚀
  7. Implement a game loop to check fuel of stage
  8. Launch a unreasonable large rocket 🚀

Getting Started

If using Cloud9

  1. Create a new project
  2. Under clone from Git or Mercurial URL copy and paste git@github.com:rposborne/launching-rockets-with-ruby.git

Notes for instructors

  • Requires Kerbal Space Program on Instructors Machine

  • KSP Mod Telemachus (for api)

  • 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/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages