holochain / minersweeper

Massively Multiplayer Distributed Minesweeper on Holochain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Holochain Minersweeper

A massively multiplayer version of the classic game Minesweeper. Instead of sweeping mines the goal is to sweep away those pesky altcoins!

This project was created during the mid 2018 Holo intern program to demonstrate the capabilities of Holochain-proto.

GitHub last commit GitHub

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Ensure holochain-proto (at least version 26) is installed on your machine by running.

hcd -v

Subsequent steps also assumes npm/yarn is installed.

Installing

Install the javascript/typescript packages with

npm install

Build the Holochain dna using

npm run hc:build

and build the UI with

npm run build

The app can now be started for development purposes using

npm run hc:dev

and opening the browser to http://localhost:4141


If you would like to persist data between sessions install to the local holochain directory by running the following from the project root directory:

hcadmin init <id/name string>
hcadmin join ./build/ minesweeper
hcd minesweeper

Running the tests

Run holochain test using

npm run hc:build && npm run hc:test

Run jest front-end tests using

npm run test

Built With

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the GPL-3 License - see the LICENSE.md file for details

Acknowledgments

About

Massively Multiplayer Distributed Minesweeper on Holochain

License:GNU General Public License v3.0


Languages

Language:TypeScript 54.1%Language:JavaScript 28.0%Language:CSS 17.0%Language:HTML 0.9%