Commit Graph

11 Commits (6e14e6a7a753ec18a7cba74d929cdcf980c21fe5)

Author SHA1 Message Date
Nathan Steel fc2784fec8 Add shuffle to server + button to frontend 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 35330e7850 Add playerId/Order in a jamjarred kinda way 1 year ago
Nathan Steel ea7c9b8596 Add 'pass', make roomData global+add item/player
Add a start of 'pass' mechanic (does nothing yet, just emits)
Make roomData global
Add itemData and playerData to roomData so it's all easy to access
1 year ago
Nathan Steel 16e307c32c Add 'playerData' with socketId to roomMod 1 year ago
Nathan Steel 8df0969836 Add DB clauses to return requested cards only 1 year ago
Nathan Steel 8666ea05f4 Change players[] to contain player/deck Ids 1 year ago
Nathan Steel 06b3fe6da0 Add 'components' mod + add empty comps. to roomGen
Create a components module to be used as the overseeing list/build
of components to be used through-out the code-base.

Added the components in said module to roomGeneration, but they
are not used at current
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