Nathan Steel
77bef59558
Add play Shield and Mana
1 year ago
Nathan Steel
6e14e6a7a7
'playToBoard' progress
1 year ago
Nathan Steel
7edda638d4
Start of 'playCard' functionality
1 year ago
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
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
525e55a092
Change io to global
1 year ago
Nathan Steel
c04b7f0b6c
Move all non-socket requests from server.js
1 year ago
Nathan Steel
840d263eb4
Add joinRoom functionality
...
Players can join room with independant sockets
When a room is 'filled' the game will start
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
Nathan Steel
144f3142e1
JANK in the server/db data into frontend!
1 year ago
Nathan Steel
2e9be63962
Pass server deckBuilt to client before client load
...
The cards/decks built in server now are loaded before the
game client starts setting up the game. Should allow for
using the cards/decks stored in DB in the game instead of file
1 year ago
Nathan Steel
4b0b4495e4
WIP! Attempt to add async wait on board/front-end
...
Want to wait for the cards to be loaded in before the game
loads any graphics, etc. so the new DB deckLists can be used
instead of files
1 year ago
Nathan Steel
6f15287c62
Add HUGE changes for test of backend card gen.
1 year ago
Nathan Steel
3a0dfa82e7
Trialing card build from DB
1 year ago
Nathan Steel
041dba6614
Changes to DB functions + DB export dump
1 year ago
Nathan Steel
c1c67cb4d2
Add basic DB selects
1 year ago
Nathan Steel
c3413e1c2c
Add very basic DB access
...
Currently access DB, and return basic SELECT
Login details will be changed of course...
1 year ago
Nathan Steel
3c8bc448d8
Add basic room functionality
1 year ago
Nathan Steel
22ca5ca7de
Add basic front-end, and socketIO connection
1 year ago