Commit graph

12 commits

Author SHA1 Message Date
5f4ffae179
Use notFacing in direction-specific notFacing functions
Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-11-16 16:53:42 +01:00
0274816aba
Fix typo
Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-11-15 21:31:29 +01:00
4f9d29914a
Extend documentation of added functions and tooling
- Add periods to sentences in documentation
- Add new functions: `facing` and `notFacing`
- Add description to functions used to initialize Karel

Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-11-15 21:29:31 +01:00
2a30414ac8
Refactor handling of walls
Fixes #2

Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-11-15 17:21:37 +01:00
c8e84da990
Merge branch 'show-instance' into main 2020-11-15 16:56:43 +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
e8972e94e5
Implement first version
Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-11-08 16:14:08 +01:00
965e6d8f35
Add public interface
Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-11-08 16:13:53 +01:00
0033f1f9ce
Create initial commit
Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-11-08 16:13:36 +01:00