Advertisement
LDDestroier

Breakout!! for ComputerCraft

Mar 3rd, 2016
1,953
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. --Breakout!! is hosted on Github Gist.
  2. -- pastebin get LTRYaSKt breakout
  3. print("Getting it...")
  4. local url = "https://gist.github.com/LDDestroier/c7528d95bc0103545c2a/raw"
  5. local program = http.get(url)
  6. if not program then error("Could not connect...") end
  7. program = program.readAll()
  8. local file = fs.open(fs.combine(shell.dir(),"breakout"),"w")
  9. file.write(program)
  10. file.close()
  11. shell.run("breakout")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement