Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- memory description (for my own sanity):
- loop_bool(1) | mouse_state | loop_counter | x
- game init
- game loop
- +[>
- >++++[-<+++++>]<, get mouse_1
- [ if mouse_1 pressed
- >>.>....<+<<- draw new black, and add to x
- ]
- >++++[-<+++++>]<+, get mouse_2
- [ if mouse_2 pressed
- >>.>.-...+<-<<- erase black, and decrement x
- ]
- <]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement