https://github.com/softchris/hex-game-editor
editor for repo hex-game
https://github.com/softchris/hex-game-editor
Last synced: 11 months ago
JSON representation
editor for repo hex-game
- Host: GitHub
- URL: https://github.com/softchris/hex-game-editor
- Owner: softchris
- License: mit
- Created: 2020-08-06T13:44:00.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-07T16:08:02.000Z (almost 6 years ago)
- Last Synced: 2025-03-18T01:01:37.568Z (over 1 year ago)
- Language: TypeScript
- Size: 6.91 MB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hex game - editor
This is an editor for Hex based game.
## Install & Run
```bash
npm install
npm start
```
## Features
This is an editor that allows you to do things such as
- **Save maps**, At any point, click `Save map` and it will be saved down. It will prompt you for a name, file ending `.json` will be added.
- **Load existing maps**, see [UK](UK.json) and [Stratego](stratego.json)
- `Choose file` + `Load map`
- **Paint**, select terrain from top right dropdown, click on the map
- if it's white before the terrain is applied
- if there is pre existing terrain it will be removed first, click again to apply terrain
- **Toggle fog of war**, there's checkbox that toggles *fog of war*
