150 likes | 457 Views
Lightbot 2.0. Armor games. Lightbot 2.0. Light-Bot 2.0 is online puzzle game built on the principles of visual programming. Light-Bot 2 contains a set of standard levels divided into four categories: basic, recursion, conditionals, and expert. Concepts: Logic sequential programming
E N D
Lightbot 2.0 Armor games
Lightbot 2.0 • Light-Bot 2.0 is online puzzle game built on the principles of visual programming. • Light-Bot 2 contains a set of standard levels divided into four categories: basic, recursion, conditionals, and expert • Concepts: • Logic • sequential programming • functions (created named blocks of commands that execute when you use the name) • recursion (when a function calls itself) • conditionals (executing code when something is true).
Lightbot 2.0 In the game, the Lightbot 2.0 is programmed by arranging icons representing discrete actions onto a grid. The possible actions are: After the player finishes building the program, they press the "Run" button. Commands are grouped into three procedures: a "main method", a "function 1", and a "function 2". When executing a procedure Lightbot, generally, executes each command of the procedure left-to-right, top-to-bottom
Lightbot Resources • http://www.cs.cmu.edu/~tcortina/15110f11/pa1/index.html#representation • http://armorgames.com/play/6061/light-bot-20 http://ice-web.cc.gatech.edu/dl/?q=node/628 - Ice at GT website
Have students take a screen shot of their solution. Create the text algorithm to go with it. Name: Jeffery von Ronne main: f1 left f2 left left step light step light f1: light step if purple jump if blue break if yellow f1 f2: step light step light right f2 if yellow
Click on the question mark for explanation of commands and tiles