Advertisement Jump to content
  • Advertisement

Status Update

Daniel Ricci


For the past year during my spare time, I have been working on re-creating the Windows 98 version of Solitaire using Java.

Prior to working on Solitaire, I made a few others board games while re-using a code base that I have built up over time that makes Swing a bit more bearable and re-usable. I recently remade a Windows 98 version of Minesweeper, available on my GitHub as well.

I have decided to try and keep an updated blog on this website, posting updates about my progress as a Computer Scientist. Hopefully, the work that I am doing is able to help motivate others in completing their own personal projects, and I hope everyone is able to make use of some of the work that I am doing.

Before I go into where I am at right now for the Solitaire remake, I want to share with everyone a bit of background history. 

For the past two years since I left my full-time job working at a gaming company in Montreal, I decided to go back to my roots and work on some games that would teach me the fundamental concepts of completing a project, among other core experiences such as not losing focus on a task, and always moving forward even when there are roadblocks. Fast-forward to today, and I have completed a few games such as Tic-Tac-Toe, Checkers, Chess, Minesweeper, and am currently working on a Solitaire game.

I have been learning a lot about myself during my experiences making these games, and I am using that knowledge to make bigger and better things, and posting it all on GitHub for everyone to use, hopefully to one day make an impact in other peoples lives. I could spend a lot more time talking about myself and my journey, however right now at this time I want to show off a bit of the Solitaire game that I am working on and where I am at right now. Maybe in other blog posts, I will go a bit more into my own details as a Computer Scientist.

This is what the game looks like right now in its current state. I will go through the features that I have implemented so far, and will then go through what I am working on right now.



So far I have implemented the following.


1. The options menu.

I have implemented everything in the options menu except for the `Draw Three` feature, and the sub-features associated to `Draw Three` such as the number of times you can go through the deck, scoring with respect to `Draw Three`, etc.

You can play a timed game, change the visibility of the status bar at the bottom of the game, you can go from an outline view to a non-outline view when dragging the cards, and you can choose between three scoring modes along with a cumulative scoring option when playing in `Vegas`


2. Outline vs non-outline dragging

Here is outline dragging and non-outline dragging when playing the game. I tried to make the outline highlight work the same as the original game, which was simply by using an XOR bit-mask whenever a collision between the border of the proxy card was dragged over a particular card, as you can see with the Queen of Diamonds and the Jack of Spades. 



Here is a non-outline drag. Notice that the card is moved and you can see the backside of the card that it was originally hiding.



Here is a list of other features that I worked on so far.

  1. Setting up the board and where the cards will be positioned
  2. Being able to cycle through the cards at the top-left
  3. Being able to drag a card from one location to another
  4. Being able to place a card somewhere, the logic and architecture used to detect when this is possible
    and to place the card or put it back where it started from
  5. Placing a card on the foundation stacks (the four placeholder squares that you see right now), and determining if the game has been won
  6. The options menu shown above
    1. Timed game, which will show at the bottom right of your screen when you have a status bar that is visible
    2. Scoring
      1. Standard which uses some basic rules, I just had to research them and implement it
      2. Vegas scoring. I also looked this up and implemented it, also some slight formatting changes
      3. Cumulative scoring, this wasn't too difficult to implemented, it was just a matter of persisting your score when playing a new game
    3. Saving the options chosen within the options menu, and when certain options would change such as how many cards were drawn, a game reset would occur
    4. Outline dragging. This was by far one of the most interesting things that I implemented throughout this game.
    5. Normal dragging. I implemented this first before going into the outline dragging mode
  7. Double-clicking on a card to auto move it to the foundation pile (if applicable)
  8. Lots of bug fixes along the way

Right now I am working on being able to choose which deck image you want to play the game with. I have the images on hand and I have imported them into my game, all that is left is to mock up the dialog window and position the images similar to the original game.

So far this is where I am at with my game. You can always follow my progress by following the game located at

Sorry that I did not go into any technical details, this is my first blog post and I am nervous enough as it is. I hope you all enjoy reading this, and I will try to answer any questions in the comments.

Take care, until my next blog post.


Recommended Comments

Welcome! :)

Sounds like you've already made solid progress on your Solitaire - making feature complete simple games can be an excellent learning exercise! Are you planning on expanding on them with any of your own ideas or features once the base game is complete?

Share this comment

Link to comment
1 hour ago, jbadams said:

Welcome! :)

Sounds like you've already made solid progress on your Solitaire - making feature complete simple games can be an excellent learning exercise! Are you planning on expanding on them with any of your own ideas or features once the base game is complete?

Yes, once the game is complete I would ideally like to branch off from the original design and come up with some new ideas that would make the game even more fun to play.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!