Skip to content

yet another 2048, but this time it's controlled by GPT

License

Notifications You must be signed in to change notification settings

inishchith/2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation



2048

About a few years ago, I built 2048.wasm

This is yet another 2048 from me, but this time it's controlled by GPT.

Demo

2048-short.mov

How GPT crushes my high score in 2048

Play

  • Replace the OPENAI_KEY in main.js with your own key.
  • Navigate to 2048.io
  • Paste the contents of main.js in your browser console. That's it!

But Why?

I came across this comment while scrolling through HackerNews today, and for some reason I found it funny. On the way back home, I thought why not get it to work with 2048? Here's my 100 line of really poor javascript, thank you!

  • Want to fix something? have a better prompt than this? see that Pull Requests link up there? Go ahead!

Credits

About

yet another 2048, but this time it's controlled by GPT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published