Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
case @face
when 'N'
@y += 1
when 'S'
@y -= 1
when 'E'
@x += 1
when 'W'
@x -= 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.