Solitaire

Solitaire

For our final project in Advanced Topics in Computer Science (Java), my partner and I decided to code a digital version of the Solitaire card game. We play a multi-player version of the game called Hell with our friends, so the concept had a personal appeal. We were given five 70-minute class periods to complete the project, so we had to break up the game into smaller steps, such as creating a card class, making a clickable deck, and adding logic for sorting cards into piles or adding them to the board. While we initially told our teacher we were unlikely to complete the project and planned on getting as far as we could, we ended the five classes with a playable Solitaire game. If we were given more time, I would have opted to explore making the cards drag-able, but the current version (where the user clicks on a card and the computer knows where it should go), is still playable. The card images were free SVGs downloaded from the internet, but the code itself was original. This project was done in Processing, and you can find the Github link here.