This is Golf Solitaire written in JS canvas
- Create Assets
- Draw Cards
- Animate Cards going to position
- Be able to detect click on cards
- set active card
- Move the card from the field to the bottom in a line.
- Make sure that you can only click card that matches your active
- Count how many cards are in the pile
- Win Condition
- Add sfx
- Add tutorial
- Timer
- Record System
Implemented card assets, shuffled them and also animated them going onto the screen from the card pile. That took a while.
I can now detect click on theorettically clickable cards.
Implemented the ability to click on the clickable cards and they know where to move By doing this the animation improved because they all simulataniously move there necessary position. However they go to the wrong angle
Fixed the cards going at the wrong angle and they instead go to a line like how it works in pocket card jockey
Made the line that the cards go into look better by appending the right edge of the card and drawing that. Added tutorial and changed colors. Fixed error in the click checking. Also fixed the issue of it still thinking the last card in the row is still clickable
Removed the letters in the code and fixed the 1 image to A. I can just have the images mean their numbers
Made it so you can pull cards from pile set active card and choose card that matches as well as added font and card pile counter.
I made it so that you can see how many cards were conquered and also added win screen.
I fixed the flip card sound effect to play more or less at the right time.