Commit Graph

27 Commits (fc2784fec843362c4e37625e9e950d157faa7f1d)

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 aaf687acb8 Add pass turn and turn identifier
Pass turn via server
Identify whose turn by making their name bold
1 year ago
Nathan Steel 993f68636b Add player/opponent Id to data and client UI 1 year ago
Nathan Steel 08df4d4552 Move js files and start split/board redo 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 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 a70f052780 Add taunt passive 1 year ago
Nathan Steel 6a6c9ffb83 WIP: Actual effect check/doing
Needs lots of work, perhaps splitting into a function per step to
prevent loops, etc in case of chains, and counterspells, etc.
1 year ago
Nathan Steel 4fb1a2694d Add functionality to trigger effect(s)
Currently takes the trigger conditions, but doesn't start the
effects
1 year ago
Nathan Steel 3fce4c0281 Add start of effectTrigger + debugging 1 year ago
Nathan Steel 87e91d4a6d Add draw/reach to effect/debug 1 year ago
Nathan Steel 916c0f2dcb Add debug tool for effects 1 year ago
Nathan Steel ccb86df970 Start of basic effect functionality 1 year ago
Nathan Steel ed2ecdd2c2 Create item elements in server, and send to client 1 year ago
Nathan Steel 9147a1569a Tidied up/renamed certain functions 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 afee6247fc Add itemdata/cardData filter to frontend debug 1 year ago
Nathan Steel 64a6a3ca85 Remove redundant ECSLoopTest from frontend 1 year ago
Nathan Steel 36f63ef354 FIX FOR LAST COMMIT
Forgot to add the index.html including change, and addition...
1 year ago
Nathan Steel 79bd2da845 Add faux deckDB/array to add cards/decklists 1 year ago
Nathan Steel 70f4a362b1 Add 'Test ECS Loop' to frontend 1 year ago
Nathan Steel 9e65811dd3 Make 'untap all' button work ECSey 1 year ago
Nathan Steel 562535234a Add extremely basic untap 1 year 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.
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