Commit Graph

112 Commits (08df4d4552d0b7f76dc2476d39c08d4eb493696a)

Author SHA1 Message Date
Nathan Steel b86e41c010 Fix error when playing card from hand
When opponent has hand in same position.
Added playerId to check
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 997ffae3c4 Add frontend console.log tool, renamed ECSLoop 1 year ago
Nathan Steel 515067936e Prevent multi-mana taps when only one should 1 year ago
Nathan Steel 79bd2da845 Add faux deckDB/array to add cards/decklists 1 year ago
Nathan Steel b2da688cf8 Add realDeck element and remove clickables 1 year ago
Nathan Steel 9fac1d3dcc Jimmied in manaCost stuff, but not 100% working 1 year ago
Nathan Steel 70f4a362b1 Add 'Test ECS Loop' to frontend 1 year ago
Nathan Steel 9754497895 Add ECSeyey... shuffleDeck 1 year ago
Nathan Steel 6458e7d85a Switch loops to normalised loop 1 year ago
Nathan Steel f209af082b ECSey LOOP NORMALISATION 1 year ago
Nathan Steel 96d21acc57 Fix deck count 1 year ago
Nathan Steel 73a44512ef Add shield destroy check logic 1 year ago
Nathan Steel 10c825a7d8 Add status removal when item changes boardElement 1 year ago
Nathan Steel 572fc1b40b Add untapCard helper 1 year ago
Nathan Steel 3ed1be6bc8 Fix gameWin 1 year ago
Nathan Steel 03e68b9a8c Cleanup un-used code
Kept unused bits that are still to be switched to ECSey
1 year ago
Nathan Steel 9e65811dd3 Make 'untap all' button work ECSey 1 year ago
Nathan Steel 54f136295d Add grave boardElement, Fix unit/unit makeAttack 1 year ago
Nathan Steel 221e621fa4 Fix multiple makeAttack cases being hit 1 year ago
Nathan Steel 9890f5302b Redo basics of inspect item 1 year ago
Nathan Steel 6f3ae033ac Rewrite attack logic to ECS 1 year ago
Nathan Steel 75aea0308b Draw all existing elements ECS-ey 1 year ago
Nathan Steel c89640e33a Play card from hand to board 1 year ago
Nathan Steel e7ea3b2b88 Remove drawOnBoardOpponent as rewritten 1 year ago
Nathan Steel 10b02f5f38 Fix onclick trigger events per boardElement 1 year ago
Nathan Steel 0c5b52aded Move drawDecks to one method, Fix deck counter 1 year ago
Nathan Steel 5d059aedeb Remove old drawHand methods 1 year ago
Nathan Steel 3c1309a63a Add max hand size check ECS 1 year ago
Nathan Steel 9569dc8320 Add switch boardElement, and draw loop for ECS 1 year ago
Nathan Steel 85b0704a4e Add item size and position to eventHandler 1 year ago
Nathan Steel b0b784c619 Add all current drawing into drawECS loop
This is working well, drawing everything with only needing to pass the
item key
1 year ago
Nathan Steel c3da40df0e Move oppBoard draw into a non-specific loop
This should allow to draw all elements from the same loop and avoid
loads of scattered methods for draw. 1 draw method, other methods for
real functionality
1 year ago
Nathan Steel 158bd627c7 Add OppBoard, and draw using itemdata 1 year ago
Nathan Steel 59a6614607 Add listPosition component, and shuffle mechanic 1 year ago
Nathan Steel f753d5d3df Add beginning of DO/ECS 1 year ago
Nathan Steel 68faeb3727 Add rightclick/contextmenu event handler 1 year ago
Nathan Steel 9de71b7676 Fix multiple mana tap when play card 1 year ago
Nathan Steel 5b5b0bde86 Add card and shield tapping 1 year ago
Nathan Steel 562535234a Add extremely basic untap 1 year ago
Nathan Steel bc70a3d0d8 Add mana and basic mana tap/summon cons 1 year ago
Nathan Steel c273b66bc3 Add opponentdrawCard from shield on destroy 1 year ago
Nathan Steel bb7c87f131 Add attackShield functionality, and win screen 1 year ago
Nathan Steel 8f2a93f58f Add sheild cards 1 year ago
Nathan Steel b6d92ce85e Add cardsToDraw loop to cardDraw methods 1 year 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.
1 year ago
Nathan Steel 233fee3d65 Add other card info to cardDraw 1 year ago
Nathan Steel 74353eac5c Add basic inspect card click 1 year ago
Nathan Steel 558a452d29 Change base cardsize to fit on board 1 year ago
Nathan Steel 3e71a1cfb0 Fix drawCard method. Used passed W/H 1 year ago
Nathan Steel 3a174aed84 Add playCard/drawCard to opponentBoard 1 year ago
Nathan Steel 154dc249a8 Add drawCard method to remove dupe code
Draws a card, when passed x/y/width/height, etc.
Replaced duplicated code
1 year ago
Nathan Steel 4b041062fd Add play card from hand to board 1 year ago
Nathan Steel 794fd15d52 Fix opponentDeck and draw to hand 1 year ago
Nathan Steel 5fd58fd654 Add playerDeck, and draw from playerDeck 1 year ago
Nathan Steel abb7443658 Add basic player draw/card discard 1 year ago
Nathan Steel 0479a3ef8e Add event listeners to decks 1 year ago
Nathan Steel 9dbb06dfb2 FIX deck counter using old Class 'Rectangle' 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