You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Nathan Steel dbb38b96b2 Add attack and 'specialEvent' to eventListener
Attack is simple, cards can attack cards.
specialEvent is to check an attack,inspect, spell target etc isn't
happening, this prevent drawing while attacking, etc.
1 year ago
public Add attack and 'specialEvent' to eventListener 1 year ago
.gitignore Add gitignore 1 year ago
README.md Update README 1 year ago
package.json Add socketIO dependency 1 year ago
server.js Add basic room functionality 1 year ago

README.md

Card Game

Technology

  • node.js
  • express.js
  • socketIO
  • HTML5 (Canvas)

Install

sudo apt install npm git pull <this-repo> npm install express --save

Run

node server.js

Access through

http://localhost:3000