Home

Awesome

village

Another one of my rapidly-built, incremental "game" weekend abandonware prototypes for the sole purpose of playing with the Elm language.

As usual, I threw it on Github so that I could host it on Github Pages. The code itself is sloppy and unorganized.

screenshot

You build villagers, give them jobs, and then they harvest resources, train in dungeons, and (unimplemented) fight enemies.

Things I played with this time:

Development

Start the hot-reloading webpack dev server:

npm start

Navigate to http://localhost:3000.

Any changes you make to your files (.elm, .js, .css, etc.) will trigger a hot reload.

Production

When you're ready to deploy:

npm run build

This will create a dist folder:

.
├── dist
│   ├── index.html 
│   ├── app-5df766af1ced8ff1fe0a.css
│   └── app-5df766af1ced8ff1fe0a.js