Nathan Steel
bb7c87f131
Add attackShield functionality, and win screen
2 years ago
Nathan Steel
8f2a93f58f
Add sheild cards
2 years ago
Nathan Steel
b6d92ce85e
Add cardsToDraw loop to cardDraw methods
2 years ago
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.
2 years ago
Nathan Steel
233fee3d65
Add other card info to cardDraw
2 years ago
Nathan Steel
74353eac5c
Add basic inspect card click
2 years ago
Nathan Steel
558a452d29
Change base cardsize to fit on board
2 years ago
Nathan Steel
3e71a1cfb0
Fix drawCard method. Used passed W/H
2 years ago
Nathan Steel
3a174aed84
Add playCard/drawCard to opponentBoard
2 years ago
Nathan Steel
154dc249a8
Add drawCard method to remove dupe code
...
Draws a card, when passed x/y/width/height, etc.
Replaced duplicated code
2 years ago
Nathan Steel
4b041062fd
Add play card from hand to board
2 years ago
Nathan Steel
794fd15d52
Fix opponentDeck and draw to hand
2 years ago
Nathan Steel
5fd58fd654
Add playerDeck, and draw from playerDeck
2 years ago
Nathan Steel
abb7443658
Add basic player draw/card discard
2 years ago
Nathan Steel
0479a3ef8e
Add event listeners to decks
2 years ago
Nathan Steel
9dbb06dfb2
FIX deck counter using old Class 'Rectangle'
2 years ago
Nathan Steel
1da50c2fb4
Board seperation, Shape changes, and event handler
...
Split front-end JS into seperate files
Change shape into a class that can do rect/circle rendering
Add basic event handler for player deck.
2 years ago
Nathan Steel
3c8bc448d8
Add basic room functionality
2 years ago
Nathan Steel
22ca5ca7de
Add basic front-end, and socketIO connection
2 years ago