Skip to content

A recreation of the "Squarrels" card game, written in Node & VueJS.

License

Notifications You must be signed in to change notification settings

tigerclaw-az/squarrels-vue

Repository files navigation

squarrels-vue

Squarrels card game done in Vue.js

Setup

  1. Add entry to your /etc/hosts file with: squarrels 127.0.0.1
  2. Clone the repo
  3. Start the server, must have docker-compose installed to run
  4. Start the client
  5. Open 2 different browser instances and navigate to http://squarrels:8181
  6. Enter a different name for each player
  7. Create games and join them with each player

Server (nodemon, express, mongo)

$ cd server
$ npm run start

Client (vue-cli)

$ cd client
$ npm install
$ npm run serve

audiosprite

> brew install ffmpeg
> npm install -g audiosprite
> cd src/assets/sounds
> audiosprite --path /sounds/ --output audiosprite -f howler ../../../public/sounds/*.mp3

Copy audiosprite.* files into /public folder