TOPdesk / codegarden

A game about gnomes, programming and gardening
MIT License
1 stars 0 forks source link

Codegarden

A game about gnomes, programming and gardening

NOTE: Codegarden is still in its early stages of development! Expect glorious MS paint placeholder graphics intermixed with the actual good graphics, discrepancies between the design document and reality, and a general inability to mute the Wilhelm Scream sound effect that is played whenever your gnome falls off the edge of the level.

You can try out a snapshot of its current state here.

Developer instructions

In order to develop, you'll first need to have git and npm available as command-line utilities.

Building from Source

Open a command line interface in the directory that contains this README file, and use the following command to install Codegarden's other dependencies locally:

You can build and run Codegarden with either of the following:

Changes to the sourcecode will automatically cause the browser to refresh, and there is a level editor available under /levelEditor. The 'run dev' command also automatically runs and watches the automated tests, while 'start' just runs Codegarden.

To run the automated tests separately, you can use one the following scripts:

The first command runs the test once and then completes, the second will watch for changes and repeatedly re-run the tests.

Deploying a new version to Github Pages

First, confirm that Codegarden is working properly. Then use the following script:

After this command completes, push the changed files in the 'docs' directory to Github.

Trees

Until you dig a hole, you plant a tree, you water it and make it survive, you haven't done a thing. You are just talking.

-- Wangari Maathai