[root]/src/slogo/jelan/instructions
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 24 (100.0%) | 275 (100.0%) | 11.4 |
bajracharyas | 5 (20.8%) | 153 (55.6%) | 30.6 |
Garrett | 4 (16.7%) | 84 (30.5%) | 21.0 |
twitchard | 2 (8.3%) | 37 (13.5%) | 18.5 |
reeda | 1 (4.2%) | 1 (0.4%) | 1.0 |
marmorsteinr | 12 (50.0%) | 0 (0.0%) | 0.0 |
0 lines of code changed in 12 files:
Made it so Interpreter is associated with a context via setContext instead of via the constructor. Also implemented Random.
36 lines of code changed in 1 file:
Implemented the "BK" instruction, which is a synonym of the "BACK" instruction. Also, the "BACKWARD" instruction doesn't exist; it's just not a thing. If you ever say something about the "BACKWARD" instruction, you actually mean the "BACK" instruction.
24 lines of code changed in 2 files:
1 lines of code changed in 1 file:
Added the "FD" instruction as a synonym for the "FORWARD" instruction. This includes adding the FD token class, FD instruction class, adding "FD" to the Instructions.prop file, and the FDParser class. I also cleaned up a few minor Eclipse warnings.
22 lines of code changed in 1 file:
LEFT and RIGHT commands added, though isn't working as it is supposed to (e.g. LEFT 10 turns the turtle way more than 90 degrees). Will be debugging it in a moment. For now, just this.
76 lines of code changed in 2 files:
BACK added, including the tokens and the parser. Tested OKAY
1 lines of code changed in 1 file:
38 lines of code changed in 1 file:
added BACK
38 lines of code changed in 1 file:
We made a forwardFiftyTest that checks and makes sure the interpreter updates the state of the turtle properly when "FORWARD 50" is passed as a StringReader to the interpreter.
1 lines of code changed in 1 file:
Added the TurtleCommander (basically an abstraction of the JTurtle class).
Added a getCommander() method to the Context interface.
Added the "Forward" command as a token, parser, and instruction.
Still need to interface with the GUI to show that the Turtle actually moves forward after the "Forward" instruction is read.
38 lines of code changed in 1 file:
Import for Sophomores
1 lines of code changed in 5 files: