GitHub - inishchith/2048: yet another 2048, but this time it's controlled by GPT

2 min read Original article ↗

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

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

License

MIT license

44 stars 4 forks Branches Tags Activity

Notifications You must be signed in to change notification settings

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

Readme

License

MIT license

Activity

Stars

44 stars

Watchers

1 watching

Forks

4 forks

Releases

No releases published

Packages

No packages published