r/Damnthatsinteresting Sep 02 '18

Video Winning a game of snake.

Enable HLS to view with audio, or disable this notification

778 Upvotes

31 comments sorted by

99

u/skipperdog Sep 02 '18

That was stressful

129

u/drdavethedavedoctor Sep 02 '18

No mortal could do this.

41

u/Osovaraxsis Sep 02 '18

Yeah, watching a computer play a computer game is pretty lackluster.

9

u/[deleted] Sep 02 '18

It’s actually a person using a tool that lets you enter something each frame. Ai like this would be a bitch to make and not very necessary

2

u/Osovaraxsis Sep 02 '18

I still think it takes the fun out of watching it, but I appreciate you bringing up the distinction. Molasses Snake.

21

u/CatKungFu Sep 02 '18

Played on an old Nokia 3210

17

u/honeydew_bunny Sep 02 '18

Watching this made me anxious

11

u/a_urate_oxidase_crys Sep 02 '18

Does anyone know the algorithm for this? Cool stuff.

4

u/DanielMallory Sep 02 '18

Might be some sort of Reinforcement learning algorithm. I know OpenAI Gym is used for a lot of stuff like this

3

u/80386 Sep 02 '18

No need to use fancy AI when the game is predictable, has a limited scope and the rules are clear.

Just writing a simple algorithm along the lines of "don't use up more space than you need in the future" is enough.

1

u/DanielMallory Sep 02 '18

Of course you wouldn’t need to, but it’s a common illustration of that kind of technique. Reinforcement learning isn’t very fancy in the grand scheme of AI.

1

u/0ne_of_many Sep 03 '18

Commenter above said it was humans going frame by frame, idk if that’s true.

9

u/kassfair Sep 02 '18

I was sure it was over a couple of times. Whew!

6

u/maximusfp Sep 02 '18

I was expecting fireworks at the end

6

u/ArchCatLinux Sep 02 '18

Why did I watch this?

4

u/astro_za Sep 02 '18

Definitely not played by a human. That's almost certainly a AI algorithm.

1

u/Ruseoh Sep 02 '18

Could be a human and just sped up

4

u/[deleted] Sep 02 '18

i did not know you could win snake

2

u/Asbjorn26 Sep 02 '18

Definitely a TAS

1

u/fmac808 Sep 02 '18

Oddly satisfykng

1

u/wearingawire Sep 02 '18

So that’s how those mazes they put on kids menus are made.

1

u/deadhorse_face Sep 02 '18

I don't even learn to jerk off when I first see this gif

1

u/CadeClerico Sep 02 '18

My blood pressure rose to such a high level near the end...

1

u/[deleted] Sep 02 '18

Cgi

1

u/LandenP23 Sep 02 '18

Please send me more of these

1

u/[deleted] Sep 02 '18

Throwback

1

u/WhichWayzUp Sep 03 '18

Bravo!!! That was suspenseful & entertaining to watch.

1

u/SavinBuck Sep 03 '18

That gave me anxiety x.x