Patience Solitaire (PB's Worklog)
Submitted my old solitaire game
As I've let hear on the forum, I've used Gemix to compile my old solitaire game and it worked. Reason enough to put it on booleansoup for the solitaire fans. I've posted it in on the WIP page, so as soon as it is approved, I'm sure it will appear there.
Unfortunately it is not the latest version of the game I had back then, but I've lost that source. This version is a lot less advanced and a bit more buggy. But still it's competent enough to play and finish the solitaire game.
What I did do before submitting it was solving a few defects and adding a few features which also where in the original latest version:
- Double click moves a card to the finish stack, if it fits.
- Improved the drag and drop functionality (if colliding with two rows on drop: check both rows if they fit).
- Refactored quite some code
Some nice trivia:
- At first I created the fpg with cards, because I thought at the time, that was something that was really missing in the default DIV2 graphical library. I didn't have the intention to create a game with it.
- Patience Solitaire is the last game I ever created in DIV.
- The game started out as an experiment. I wanted to try to create a game with one process that managed multiple graphics. This lead to new coding chalanges and types of bugs, you'd otherwise never see in any DIV game.
- In regard of the previous point, the key process of Patience Solitaire is the following:
- Pressing Alt+Shift+2 will finish your game, as it does in the version that comes with Windows........
I'm curious what other kind of bugs will be found by you guys, and if someone actually bothers to download and play my solitaire game :-).
Unfortunately it is not the latest version of the game I had back then, but I've lost that source. This version is a lot less advanced and a bit more buggy. But still it's competent enough to play and finish the solitaire game.
What I did do before submitting it was solving a few defects and adding a few features which also where in the original latest version:
- Double click moves a card to the finish stack, if it fits.
- Improved the drag and drop functionality (if colliding with two rows on drop: check both rows if they fit).
- Refactored quite some code
Some nice trivia:
- At first I created the fpg with cards, because I thought at the time, that was something that was really missing in the default DIV2 graphical library. I didn't have the intention to create a game with it.
- Patience Solitaire is the last game I ever created in DIV.
- The game started out as an experiment. I wanted to try to create a game with one process that managed multiple graphics. This lead to new coding chalanges and types of bugs, you'd otherwise never see in any DIV game.
- In regard of the previous point, the key process of Patience Solitaire is the following:
DIV code:
PROCESS graphic(graph, x, y, z)
BEGIN
FRAME;
END
BEGIN
FRAME;
END
- Pressing Alt+Shift+2 will finish your game, as it does in the version that comes with Windows........
I'm curious what other kind of bugs will be found by you guys, and if someone actually bothers to download and play my solitaire game :-).
(Posted on July, 26th 2008, 16:11)