Git Product home page Git Product logo

gustavoberman / arkhamhorror Goto Github PK

View Code? Open in Web Editor NEW

This project forked from halogenandtoast/arkhamhorror

0.0 0.0 0.0 77.17 MB

A rules-compliant browser based version of Arkham Horror: The Card Game.

Shell 0.01% JavaScript 0.01% Emacs Lisp 0.01% Haskell 91.85% TypeScript 1.70% Nix 0.01% Makefile 0.05% HTML 0.02% PLpgSQL 0.06% Vue 6.17% Dockerfile 0.10% Vim Script 0.02% SCSS 0.01% Dhall 0.01%

arkhamhorror's Introduction

Arkham Horror LCG

Screenshot

The goal of this project is to implement a web version of Arkham Horror with as many of the rules implemented as possible.

Warning

This is very much a work in progress. Things may break at any time, but if they do, please file a bug.

Features

  • Multiplayer up to 4 players
  • Multiplayer solitaire
  • Deck import from ArkhamDB

Finished Content

Player Cards

  • All player cards up to the Carcosa deluxe box

Campaigns

  • Night of the Zealot
    • Return to Night of the Zealot
  • The Dunwich Legacy
  • The Path To Carcosa (2/8)

Side Stories

  • The Curse of the Rougarou
  • Carnevale of Horrors

Local dev

Dependencies

  • Stack for GHC
  • Node
  • Postgresql
  • Nginx (for local development)
  • Sqitch (optional: for migrations)

Local Setup

Running via Docker

The image is setup to use an external database passed via the DATABASE_URL environment variable. Follow the steps below to setup the database and then run the following commands

docker build -t arkham .
docker run -t -i -e PORT=3000 -e DATABASE_URL="postgres://docker:[email protected]:5432/arkham-horror-backend" -p 3000:3000 arkham

Backend

Run stack setup in the backend directory, then run stack build --fast (note: this will still take a long time)

Frontend

Run npm install in the frontend directory

Database

Create the local database:

createdb arkham-horror-backend
cd migrations
sqitch deploy db:pg:arkham-horror-backend

If you do not have sqitch you can cat migrations/deploy/* to see the create table statements and run them manually, you will want to specifically run the users and arkham_games create table statements first.

Running the server

  • start the backend with cd backend && make api.watch
  • start the frontend with cd frontend && PORT=8081 npm run serve
  • start the ngingx server with nginx -c `pwd`/local.nginxconf

Copyright Disclaimer

The Card Game, both literal and graphical, is copyrighted by Fantasy Flight Games. This application and the corresponding website is not produced, endorsed, supported, or affiliated with Fantasy Flight Games.

arkhamhorror's People

Contributors

halogenandtoast avatar calebhearth avatar jmahmood avatar wappowers avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.