Commit Graph

58 Commits (afee6247fc99a32f18528aed6097947615e28693)

Author SHA1 Message Date
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