📄
3kh0 Wiki
  • 3kh0 Wiki
  • Add a game to 3kh0
  • Create a CDN Server for 3kh0
  • Create Theme Code
  • Create Theme
  • Host 3kh0.github.io
  • Pages With Navbar
  • Secret Themes
Powered by GitBook
On this page

Add a game to 3kh0

Previous3kh0 WikiNextCreate a CDN Server for 3kh0

Last updated 2 years ago

  1. If you want to add a game you will need to create a push request in the repository with the files of your game in a folder. Make sure that you have an thumbnail for the game in the folder you created.

  2. Now create a fork of this repository and find the file /assets/json/games.json.

In that file you should see a json list looking something like this:

[
   {
        "name": "1",
        "root": "1",
        "file": "index.html",
        "img": "meta/apple-touch-icon.png"
    },
    {
        "ect."
    }

If that is not the case try updating your fork to a newer version.

  1. Once you have found the file scroll down to the bottom of the file and add the following snippet (remember to replace what it says with actual values):

{
   "name": "the name the game you are adding",
   "root": "the folder you created for your game",
   "file": "the main file for your game (usually index.html)",
   "img": "the path to the thumbnail for your game"
}
  1. Once you have done all of the steps above, create a pull request in this repository with the updated games.json file.

  2. Wait for a contributor with write access to approve your changes and add the game to 3kh0.

3kh0-Assets