No description, website, or topics provided.
JavaScript CSS HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
.gitignore
LICENSE
README.md
game.css
game.js
index.html
levels.json

README.md

TheKeyGame

TheKeyGame is a project game made in JQuery created by Slinkybass.

To get started, check out the Documentation

Table of contents

How to play

It's simple, a falling key, a chest and a variable that should be the same. But you only have arrows...

Quick start

To install TheKeyGame just download the latest release and play. This game allowed to modify all the levels and include more.

The package NEEDS jQuery but is ready to run because CDN links are included in index.html.

Create the levels

First of all, you'll need to create a JSON file. This JSON will contain all the info about your levels.

Lets see an example:

# levels.json
{
    "levels": [
        {
            "size_x": "1",
            "size_y": "3",
            "var": "0",
            "cols": [
                {
                    "position": {
                        "x": 0,
                        "y": 0
                    },
                    "elements": {
                        "start": true
                    }
                },
                {
                    "position": {
                        "x": 0,
                        "y": 1
                    }
                },
                {
                    "position": {
                        "x": 0,
                        "y": 2
                    },
                    "elements": {
                        "end": true
                    },
                    "actions": {
                        "check": 0
                    }
                }
            ]
        }

Creators

Garaballú (slinkybass)

Copyright and license

Code and documentation Copyright 2016. TheKeyGame Authors and Garaballú.

Code released under the MIT License.