Live data from Hacker News

Super Hexagon Bot

crackedopenmind.com

21–30 of 31 posts

Re: Super Hexagon Bot

#21

This is awesome. I used SimpleCV in Python to detect the walls, much like you did. But I used it to transform the screen to make the platforms fall vertically: https://github.com/shaunlebron/super-hexagon-unwrapper

An amazing concept, excellently executed. You just changed how I think about this game.

Thanks, I'm glad it changed your view of the game. My goal was to show this beautiful isomorphism between the two representations.

Re: Super Hexagon Bot

#22

This is awesome. I used SimpleCV in Python to detect the walls, much like you did. But I used it to transform the screen to make the platforms fall vertically: https://github.com/shaunlebron/super-hexagon-unwrapper

Your version looks waaaay harder for some reason

Re: Super Hexagon Bot

#23
post #6

Ever since my 8-year old son beat the game multiple times on level 6, I have been working on getting there as well. The best I have made has been 19 seconds on level 6 - though I have beat the first five levels, level 6 is truly insane. Watching my son play is quite the experience. It seems my reflexes are not what they once were. It's an amazing game. I want to think that writing my own bot would count as beating th…

I got pretty good at Super Hexagon and can beat all 6 levels, but on their hard mode's I can't get very far on levels 5 & 6. I think my level 1 record is somewhere near 10 minutes now.

What's this "hard mode" you speak of? As far as I know, there are only 6 levels, the hardest being "hexagonest" in hyper mode, which is the "hardestestest" level. I'm playing it on PC via steam.

I've beaten that but I'm keen for a harder challenge!

Re: Super Hexagon Bot

#26
post #23

Earlier quoted context omitted.

I got pretty good at Super Hexagon and can beat all 6 levels, but on their hard mode's I can't get very far on levels 5 & 6. I think my level 1 record is somewhere near 10 minutes now.

What's this "hard mode" you speak of? As far as I know, there are only 6 levels, the hardest being "hexagonest" in hyper mode, which is the "hardestestest" level. I'm playing it on PC via steam. I've beaten that but I'm keen for a harder challenge!

I would assume by "hard mode" they meant the last 3 difficulties you unlock by beating the first 3. And the challenge at that point is chasing even higher times and doing leaderboard chasing (though good luck cracking the top 200 at this point, my 250+ is only 317th last I looked).

Re: Super Hexagon Bot

#27
post #17

For anyone interested in alternate bot approaches: While the author made this "pixel bot" to pair their Super Hexagon with ambitions to learn OpenCV, pixel bots are almost always inferior to memory-based bots. As mentioned elsewhere in these comments, code injection should use caves and jumps, not overwrite existing code. With a memory-based bot you often do not even need to write to the game's memory. You can use th…

Interesting. Do you have any more resources about how these bots are made?

Re: Super Hexagon Bot

#28
post #17

For anyone interested in alternate bot approaches: While the author made this "pixel bot" to pair their Super Hexagon with ambitions to learn OpenCV, pixel bots are almost always inferior to memory-based bots. As mentioned elsewhere in these comments, code injection should use caves and jumps, not overwrite existing code. With a memory-based bot you often do not even need to write to the game's memory. You can use th…

Interesting. Do you have any more resources about how these bots are made? ²

Re: Super Hexagon Bot

#29
post #17

For anyone interested in alternate bot approaches: While the author made this "pixel bot" to pair their Super Hexagon with ambitions to learn OpenCV, pixel bots are almost always inferior to memory-based bots. As mentioned elsewhere in these comments, code injection should use caves and jumps, not overwrite existing code. With a memory-based bot you often do not even need to write to the game's memory. You can use th…

Interesting. Do you have any more resources about how these bots are made? ²

I don't have any resources in particular but I've personally made them for years. In general you read memory and take action (via keyboard input) based upon what you read from memory.

For example in a game where you fish, you would wait until a fish is on hook by watching the representative value in memory and pressing a key to catch a fish when that value indicates you have a fish on-hook.

In Super Hexagon you would watch the values indicating where walls were placed, which is likely an array of enumerable values indicating a shape (each shape has at least one opening). So a 1 might indicate a wall only at north, a 3 might indicate every odd side of the hexagon is a wall which must be avoided, etc.

Finding values is obviously easier when the value is displayed on-screen, like ammo in first-person shooters. It takes some time to become familiar with exploring memory like this and you certainly wouldn't want to write your own memory scanning primitives to do it, start with a tool like Cheat Engine (http://www.cheatengine.org/), ArtMoney (http://www.artmoney.ru/), or one of the many other memory editors available (https://www.google.com/search?q=memory+editor).

If you'd like more details please be specific about what you'd like explained!

Re: Super Hexagon Bot

#30
post #27
post #17

For anyone interested in alternate bot approaches: While the author made this "pixel bot" to pair their Super Hexagon with ambitions to learn OpenCV, pixel bots are almost always inferior to memory-based bots. As mentioned elsewhere in these comments, code injection should use caves and jumps, not overwrite existing code. With a memory-based bot you often do not even need to write to the game's memory. You can use th…

Interesting. Do you have any more resources about how these bots are made?

See my reply above
Post reply on HN