-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hackman #1135
hackman #1135
Conversation
9e387d6
to
d33d50d
Compare
96eab20
to
3aa0127
Compare
3aa0127
to
b29bed6
Compare
b29bed6
to
024cebb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I wrote some code to follow and eat pellets + donuts as long as there are any adjacent. But I had to manually move hackman between each string of pellets once it ate a bunch and ended up next to blank spaces. I'm still wondering if there is a less manual way to do it. What about equipping hackman with a bitcoin
? Then at the very least you could code it to wander around randomly until encountering more things to eat.
Once we do #102 it could also be fun to equip hackman with whatever device lets you handle input. Then one strategy would be to code up your own key handler so you could actually e.g. drive hackman around with arrow keys.
I'm proud of this solution I developed, which eventually manages to eat everything (though it takes a while):
|
Demo
Makes use of both #1058 and #1023.