Skip to content
/ Readme-2048 Public template

To play the famous 2048 game on a README file. The game is played directly on a GitHub repo. Everyone can play a move.

License

Notifications You must be signed in to change notification settings

Darkempire78/Readme-2048

Repository files navigation

Readme 2048

This template repository contains the source code for a Python 2048 automatic bot, together with GitHub Workflows in order to allow ANYONE to play 2048 from a README file. Want to see this in action? Go to my profile page and feel free to try it out by yourself!

Steps to make your own repo

  1. Click on "Use this template".

  2. Replace the the link (https://github.com/Darkempire78/Readme-2048) to the link of your own repository in each files.

  3. Rename the folder .github/_workflows to .github/workflows.

  4. Delete this README file and make your own README.md based on the README.template.md. Do not forget that the both comments "<-- 2048GameActions -->" and "<-- 2048Ranking -->" cannot be deleted!

Themes

You can change the theme of the gameboard between dark and light mode editing config.json.

Features

  • Play to 2048
  • Archive games
  • Leaderboard
  • Dark mode

Archives

The current game is always called Data/Games/current.json. All games are automatically archived into the Data/Games/ folder.

To do

Discord

Join the Discord server !

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

This project is under GPLv3.

About

To play the famous 2048 game on a README file. The game is played directly on a GitHub repo. Everyone can play a move.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages