https://github.com/jessebraham/hnefatafl
An implementation of Fetlar Hnefatafl built using Mithril
https://github.com/jessebraham/hnefatafl
boardgame game hnefatafl javascript js mithril mithriljs tafl
Last synced: about 1 year ago
JSON representation
An implementation of Fetlar Hnefatafl built using Mithril
- Host: GitHub
- URL: https://github.com/jessebraham/hnefatafl
- Owner: jessebraham
- License: mit
- Archived: true
- Created: 2019-10-20T00:23:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-26T16:24:03.000Z (almost 6 years ago)
- Last Synced: 2025-04-02T22:39:27.795Z (about 1 year ago)
- Topics: boardgame, game, hnefatafl, javascript, js, mithril, mithriljs, tafl
- Language: JavaScript
- Homepage:
- Size: 338 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hnefatafl
An implementation of Fetlar [Hnefatafl] built using [Mithril].
Based on the rules for *Fetlar Hnefatafl* as outlined by [Aage Nielsen] and [Damian Walker].
A demo is available at [here].
[Hnefatafl]: https://en.wikipedia.org/wiki/Tafl_games#Hnefatafl
[Mithril]: https://mithril.js.org/
[Aage Nielsen]: http://aagenielsen.dk/fetlar_rules_en.php
[Damian Walker]: http://tafl.cyningstan.com/data-download/964/fetlar-hnefatafl-leaflet
[here]: https://beta7.io/hnefatafl.html
## Quickstart
Make sure that [nodejs & npm] is installed and on your `PATH` prior to beginning.
Clone the repository, install all dependencies, and run the development server:
```bash
$ git clone https://github.com/jessebraham/hnefatafl
$ cd hnefatafl/
$ npm i --upgrade
$ npm run start
```
Navigate to [http://localhost:8080] in your web browser to access the game.
[nodejs & npm]: https://nodejs.org/en/
[http://localhost:8080]: http://localhost:8080/