Commit graph

5 commits

Author SHA1 Message Date
2a30414ac8
Refactor handling of walls
Fixes #2

Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-11-15 17:21:37 +01:00
bd69dacb93
Refactor wall handling in prettyprint
Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-11-15 13:28:11 +01:00
66c91096ab
Implement Show instance for Karel
Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-11-15 13:08:10 +01:00
d31939c6ed
Fix export and use correct direction and position
Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-11-15 13:07:08 +01:00
170a64ef77
Major refactor
- Use internal modules for helper functions
- Clean up API
- Add `facing` to Karel and `notFacing` to SuperKarel
- Rename functions for creating world and Karel

Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-11-08 19:18:42 +01:00