6 ms·
And ChatGPT can tell that it's a game of Snake from the URL. https://www.tiktok.com/@y.i.t.z.i/video/7186055378977803521 https://www.tiktok.com/@y.i.t.z.i/video
by realYitzi 4y ago
And ChatGPT can tell that it's a game of Snake from the URL. https://www.tiktok.com/@y.i.t.z.i/video/7186055378977803521 https://www.tiktok.com/@y.i.t.z.i/video/7186055378977803521
"When decoded, the script appears to be a Snake game implemented using JavaScript and the HTML5 canvas element. The script creates an HTML page with a canvas element and adds event listeners for arrow keys and space bar to control the game."
- lbatchelor 4y agoWow, that's actually impressive. Any idea how chat gpt would know that? Surely it's not making the request for it and surely it's not actually decoding any base64 right?
- realYitzi 4y agoI can venture a guess, but gonna wait until I know what I'm talking about. Over here it decodes a js animated SVG https://vt.tiktok.com/ZS8rcjhgg/ https://vt.tiktok.com/ZS8rcjhgg/ but made a few slight mistakes.
- londons_explore 4y agoYou'd be right a good chunk of the time if you said it was a snake game just by seeing that it was a data URL and had the word 'canvas' in.
- UweSchmidt 4y agoChatGPT has probably seen plenty of half-baked excercise/homework snake implementations on Github to tell that this is another one of those. (Yes, this is moving the goalposts and implying that true AI is just over the horizon...)
- kevinwang 4y agoI recall seeing that it's actually quite fluent in base64
- IAmGraydon 4y agoWow that's impressive. Is ChatGPT updating its model fast enough that this repo could have been included or is it really figuring out what this is from the code itself?
- londons_explore 4y agoChatGPT had it's last update on 15th Dec 2022, but the main scrape of the web for training data was ~2020. Try asking it about someone famous from 2021 and it usually doesn't know.
- deleted 4y ago[deleted]