An open API service indexing awesome lists of open source software.

https://github.com/walkerrandolphsmith/triple-triad

Final Fantasy 8's card game
https://github.com/walkerrandolphsmith/triple-triad

game react redux redux-thunk reselect

Last synced: about 2 months ago
JSON representation

Final Fantasy 8's card game

Awesome Lists containing this project

README

          

# Triple Triad [![Codeship][ci-badge]][ci]

Web application for playing the card game, triple triad.

##Issues [![GitHub issues][issues-badge]][issues] [![Stories in Ready][waffle-badge]][waffle]

Please file bugs [here][issues]. Items are tracked with [waffle.io](https://waffle.io/walkerrandolphsmith/triple-triad).

Include `closes`, `fixes`, or `resolves` in a commit message to close the issue.
For example `git commit -m "This closes #34, and closes #23"`

##Playing the game

At the moment there are a couple of ways to play the game.

1. Get the latest docker image by issuing:
`docker pull walkerrandolphsmith/triple-triad`
2. Clone the repo and build your own image.
`docker-compose up`
3. Clone the repo and build following the development section of this readme.

##Development
This application requires Node and Mongo.

####Install Node

Add the following line to `.bash_profile`

```
export PATH=$PATH:/usr/local/git/bin:/usr/local/bin
```

```bash
git clone git://github.com/ry/node.git
cd node
./configure
make
sudo make install
node --version
```

####Install Node Modules
```bash
npm install
```

####Start App
```bash
mongod
#In another terminal
npm start
```

####Run Linter
```bash
npm run lint
```

####Run Tests
```bash
npm test
npm run test:unit # runs unit tests
rpm run test:integration # runs integration tests
```

[Wallaby](https://wallabyjs.com/) is also supported as a testing tool to continuously run your test and see the results immediately as you change the code.

[ci]: http://img.shields.io/codeship/7a0d0880-b10c-0133-3c40-7ee430441c87.svg?style=flat-square
[ci]: https://codeship.com/projects/7a0d0880-b10c-0133-3c40-7ee430441c87/status?branch=master
[ci-badge]: http://img.shields.io/codeship/7a0d0880-b10c-0133-3c40-7ee430441c87.svg?style=flat-square

[issues]: https://img.shields.io/github/issues/walkerrandolphsmith/triple-triad.svg?style=flat-square
[issues]: https://github.com/walkerrandolphsmith/triple-triad/issues
[issues-badge]: https://img.shields.io/github/issues/walkerrandolphsmith/triple-triad.svg?style=flat-square

[waffle]: https://img.shields.io/github/issues/walkerrandolphsmith/triple-triad.svg?style=flat-square
[waffle]: http://waffle.io/walkerrandolphsmith/triple-triad
[waffle-badge]: https://img.shields.io/waffle/label/walkerrandolphsmith/triple-triad.svg?style=flat-square