Nathan Steel
2041108973
Draw basic cardData to cards in player hand
1 year ago
Nathan Steel
be96e46166
Changes to 'drawACard', serverdata, and UI changes
...
Return data from server for each client (cardCounts)
Return data for client that drew (cardData, listPos. etc.)
UI changes on client to display the temporary 'cards'
1 year ago
Nathan Steel
f69d5a8907
Start of 'drawACard' on server side
...
Hand/Deck count changes
Currently not actually drawing/moving cards from deck to hand
1 year ago
Nathan Steel
657fab5914
Add deck entities and draw deck with deckCount
1 year ago
Nathan Steel
8df0969836
Add DB clauses to return requested cards only
1 year ago
Nathan Steel
3e512459cf
Add passives to cards via DB
1 year ago
Nathan Steel
f83f003a92
Add cardEffect component data
1 year ago
Nathan Steel
116f7af480
Add build cardEffect object from DB elements
1 year ago
Nathan Steel
fe41db49e5
Add 'manaColour' attribute/DB element
...
Currently cards will only have one mana colour, in future
need to extend the (in code) functionality to multiple, as DB
is already set to allow multiple.
1 year ago
Nathan Steel
202f7523ec
Add attr. global board.js, and make colours array
1 year ago
Nathan Steel
51aa49ee63
Add basic colours back into the game (via server)
1 year ago
Nathan Steel
47f9290663
Changes to make loadBoard work with new data
1 year ago
Nathan Steel
ed2ecdd2c2
Create item elements in server, and send to client
1 year ago
Nathan Steel
2da3a75986
Add new roomMod.js for roomGeneration, etc.
1 year ago
Nathan Steel
9147a1569a
Tidied up/renamed certain functions
1 year ago
Nathan Steel
ceef95712e
Move card server logic test into cardGen.js module
1 year ago