MCPcopy
hub / github.com/gabrielecirulli/2048

github.com/gabrielecirulli/2048 @main sqlite

repository ↗ · DeepWiki ↗
8 symbols 9 edges 10 files 0 documented · 0%
README

2048

A small clone of 1024, based on Saming's 2048 (also a clone). 2048 was indirectly inspired by Threes.

Made just for fun. Play it here!

The official app can also be found on the Play Store and App Store!

Contributions

Anna Harren and sigod are maintainers for this repository.

Other notable contributors:

Many thanks to rayhaanj, Mechazawa, grant, remram44 and ghoullier for the many other good contributions.

Screenshot

Screenshot

That screenshot is fake, by the way. I never reached 2048 :smile:

Contributing

Changes and improvements are more than welcome! Feel free to fork and open a pull request. Please make your changes in a specific branch and request to pull into master! If you can, please make sure the game fully works before sending the PR, as that will help speed up the process.

You can find the same information in the contributing guide.

License

2048 is licensed under the MIT license.

Donations

I made this in my spare time, and it's hosted on GitHub (which means I don't have any hosting costs), but if you enjoyed the game and feel like buying me coffee, you can donate at my BTC address: 1Ec6onfsQmoP9kkL3zkpB6c5sA4PVcXU2i. Thank you very much!

Core symbols most depended-on inside this repo

defineElementGetter
called by 1
js/classlist_polyfill.js
HTMLActuator
called by 0
js/html_actuator.js
KeyboardInputManager
called by 0
js/keyboard_input_manager.js
DOMTokenList
called by 0
js/classlist_polyfill.js
LocalStorageManager
called by 0
js/local_storage_manager.js
Grid
called by 0
js/grid.js
Tile
called by 0
js/tile.js
GameManager
called by 0
js/game_manager.js

Shape

Function 8

Languages

TypeScript100%

Modules by API surface

js/classlist_polyfill.js2 symbols
js/tile.js1 symbols
js/local_storage_manager.js1 symbols
js/keyboard_input_manager.js1 symbols
js/html_actuator.js1 symbols
js/grid.js1 symbols
js/game_manager.js1 symbols

For agents

$ claude mcp add 2048 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact