https://github.com/tpiros/online-cardgame
https://github.com/tpiros/online-cardgame
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tpiros/online-cardgame
- Owner: tpiros
- Created: 2013-11-07T12:23:26.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-07T17:59:36.000Z (over 9 years ago)
- Last Synced: 2025-04-15T23:08:43.842Z (about 1 month ago)
- Language: JavaScript
- Size: 4.22 MB
- Stars: 33
- Watchers: 5
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Online cardgame
More info soon, for the time being, please read the articles at http://tamaspiros.co.uk/category/online-card-game/
1) Edit
server.js
and update the port/IP address/hostname that you would like to use
2) Editclient.js
and update it with the same information as per above
3)npm install && bower install
4)node server.js
Play the game:
Login to the URL defined in point 1, add your name and wait for another player to join. In a second browser, navigate to the same URL, enter your name and you'll be all set to play. Basic rules are: number to number / colour to colour. If player plays #2 card, next player either has to play another #2 or is forced to draw 2 cards.More updates coming soon.