-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
48 lines (39 loc) · 1.53 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
****************************************************
Nick Major 0879292
CIS2500 Assignment 2 / Logo
02/13/15
****************************************************
This is an interpreter for a small subset of the Logo Programming Language. The interpreter takes user input one line at a time and produces correct output. This program provides logo-style error messages if the user provides incorrect input.
************
Compilation
************
make (this makes the Makefile)
***********************
Running the program(s)
***********************
- cd Directory bin/
- ./runMe
*****************
Known Limitations
*****************
- negative moves
- user input length
- only 50 commands per use
- saving
*****************
Commands
*****************
Command number description
fd move - moves in the positive x or y direction depending on the angle
bk move - moves in the negative x or y direction depending on the angle
rt angle - rotates current angle clockwise around the unit circle
lt angle - moves current angle counter-clockwise around the unit circle
pu (n/a) - turtle doesn’t draw behind it
pd (n/a) - turtle draws behind it
ht (n/a) - the turtle is no longer drawn
st (n/a) - the turtle is drawn
home (n/a) - resets the turtles position to the starting position
setpencolor color - pen can change to blue, red, green, or yellow
clean (n/a) - erases all of the pen lines
print ____ - prints whatever is in the blank space less than 15 characters
new (n/a) - resets the program