Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2015-01-08 04:05:56
Size: 1048
Editor: Bryce
Comment:
Revision 4 as of 2015-01-08 04:11:48
Size: 1924
Editor: Bryce
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
{{{
CCC CCC CLC CLC CXC CXC CTC CTC

The golem is currently facing north
Its hands are at the level of its knees
Its hands are open.
-- Step --
Golem's hands remain at the level of its knees
Golem's hands remain open
-- Step --
Golem's hands remain at the level of its knees
Golem's hands remain open
-- Step --
Golem's hands remain at the level of its knees
Golem's hands close
-- Step --
Golem's hands remain at the level of its knees
Golem's hands remain closed
-- Step --
Golem's hands remain at the level of its knees
Golem's hands open.
-- Step --
Golem's hands remain at the level of its knees
Golem's hands open.
-- Step --
Golem's hands remain at the level of its knees
Golem's hands remain closed
-- Step --
Golem's hands remain at the level of its knees
Golem's hands remain closed
---
The golem stops moving.

}}}

{{{
Line 33: Line 70:

}}}

CCC CCC CLC CLC CXC CXC CTC CTC

The golem is currently facing north
Its hands are at the level of its knees
Its hands are open.
-- Step --
Golem's hands remain at the level of its knees
Golem's hands remain open
-- Step --
Golem's hands remain at the level of its knees
Golem's hands remain open
-- Step --
Golem's hands remain at the level of its knees
Golem's hands close
-- Step --
Golem's hands remain at the level of its knees
Golem's hands remain closed
-- Step --
Golem's hands remain at the level of its knees
Golem's hands open.
-- Step --
Golem's hands remain at the level of its knees
Golem's hands open.
-- Step --
Golem's hands remain at the level of its knees
Golem's hands remain closed
-- Step --
Golem's hands remain at the level of its knees
Golem's hands remain closed
---
The golem stops moving.

bryce@cyril:~/Projects/Roller2$ python mgolem.py north XCC XCC LCC LCC TCC TCC
The golem is currently facing north
Its hands are at the level of its knees
Its hands are open.
-- Step --
Golem takes a step forward (north)
Golem's hands remain at the level of its knees
Golem's hands remain open
-- Step --
Golem takes a step forward (north)
Golem's hands remain at the level of its knees
Golem's hands remain open
-- Step --
Golem turns right, and is now facing east
Golem's hands remain at the level of its knees
Golem's hands remain open
-- Step --
Golem turns right, and is now facing south
Golem's hands remain at the level of its knees
Golem's hands remain open
-- Step --
Golem takes a step forward (south)
Golem turns right, and is now facing west
Golem's hands remain at the level of its knees
Golem's hands remain open
-- Step --
Golem takes a step forward (west)
Golem turns right, and is now facing north
Golem's hands remain at the level of its knees
Golem's hands remain open
---
The golem stops moving.

Scratch (last edited 2015-01-08 04:33:52 by Bryce)