The Settlers II.net Map Generator
=================================

Generates random maps for [The Settlers II](http://settlers2.net/) and [Return to the Roots](http://www.rttr.info/).

This project is running at http://settlers2.net/map-generator/

See the [TODO list](https://github.com/Merri/map-generator/wiki) @ wiki.


Setting up development environment
----------------------------------

Just clone to your preferred git project location. You need Node and a local webserver to serve the `public/index.html` file (you can also just open the file in browser, but accessing images has cross-origin protection so map render features are more limited).

To get started with development itself:

	npm install

After running this you should have the dev environment running and be able to run continuous preprocessing by typing `npm start`. JavaScript is processed on the fly into `public/bundle.js`. Once you're done you should do `npm run build` to compile the production version.
**NOTE!** This project is being refactored for better code reuse.

# Map Generator

JavaScript utilities for working with 2D game maps and terrains for the purpose of generating cool looking fields to
play with.

See the [TODO list](https://github.com/Merri/map-generator/wiki) @ wiki.

### Notes

This project started as The Settlers II.net Map Generator, but is going to be abstracted better over time so that the
map generator part becomes independent module that is usable for other games and projects as well.

The current state of this project is running at http://settlers2.net/map-generator/

You can read more about [The Settlers II](http://settlers2.net/) or [Return to the Roots](http://www.rttr.info/) on
their respective sites.

S2.net Map Generator will become it's own project once abstraction is good enough.

Update readme to match current state of the project
Update readme to match current state of the project
