Card Games: Clock Patience (aka Clock Solitaire)
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Card Games: Clock Patience (aka Clock Solitaire)
Hi,
Attached is a LiveCode version of Clock Solitaire I am calling Clock Patience. This is a bare bones implementation of the core game. It is open source and all of the code, including creating the user interface, is contained in the stack script.
This stack can be a scaffold for anyone wishing to modify it as they want. Some ideas: incorporate card suit graphic icons; incorporate card animation to move selected card to its destination; add a timer and scoring.
[8/14 Update: I am reposting the card game after troubleshooting. Fingers crossed it works now. ]
- Mike
Attached is a LiveCode version of Clock Solitaire I am calling Clock Patience. This is a bare bones implementation of the core game. It is open source and all of the code, including creating the user interface, is contained in the stack script.
This stack can be a scaffold for anyone wishing to modify it as they want. Some ideas: incorporate card suit graphic icons; incorporate card animation to move selected card to its destination; add a timer and scoring.
[8/14 Update: I am reposting the card game after troubleshooting. Fingers crossed it works now. ]
- Mike
- Attachments
-
- Clock Patience.livecode.zip
- (20.71 KiB) Downloaded 8 times
Last edited by Hutchboy on Thu Aug 14, 2025 12:30 pm, edited 2 times in total.
Re: Card Games: Clock Patience (aka Clock Solitaire)
Mike.
I do not see how to even start playing. After hitting "New Game", nothing reacts.
Craig
I do not see how to even start playing. After hitting "New Game", nothing reacts.
Craig
Re: Card Games: Clock Patience (aka Clock Solitaire)
Hi,
Craig...you're right, something isn't working so I've taken it down and will repost when fixed. Worked fine here at home but when I downloaded the file I placed in the forum and ran it I ran into the problem you had.
-Mike
Craig...you're right, something isn't working so I've taken it down and will repost when fixed. Worked fine here at home but when I downloaded the file I placed in the forum and ran it I ran into the problem you had.
-Mike
Re: Card Games: Clock Patience (aka Clock Solitaire)
Hi,
I'm taking the game down until I get it sorted why it works at home but not when I upload it here.
- Mike
I'm taking the game down until I get it sorted why it works at home but not when I upload it here.
- Mike
Last edited by Hutchboy on Wed Aug 13, 2025 9:59 pm, edited 1 time in total.
Re: Card Games: Clock Patience (aka Clock Solitaire)
Mike.
Nope.
When I select "New Game", what might(should) be my next action? A click? Drag?
Craig
Nope.
When I select "New Game", what might(should) be my next action? A click? Drag?
Craig
Re: Card Games: Clock Patience (aka Clock Solitaire)
Hi,
Craig and all,
I've uploaded the fixed game to my original post above. Next step is to add a timer and to make it easier to see which is the current card. With the core logic working I will probably make an enhanced version with icons, 52 individual cards and add dragging actions.
Fingers crossed...
-Mike
Craig and all,
I've uploaded the fixed game to my original post above. Next step is to add a timer and to make it easier to see which is the current card. With the core logic working I will probably make an enhanced version with icons, 52 individual cards and add dragging actions.
Fingers crossed...
-Mike
Re: Card Games: Clock Patience (aka Clock Solitaire)
Mike.
Nothing seems to happen anywhere after pressing "New Game". What do I do (can I do) next? Something says "Flip from pile 13".
How?
Craig
Nothing seems to happen anywhere after pressing "New Game". What do I do (can I do) next? Something says "Flip from pile 13".
How?
Craig
Re: Card Games: Clock Patience (aka Clock Solitaire)
Craig,
Just to double check I downloaded the zip file I posted earlier, unpacked it and the game performed as it should.
If you start a new game you will see a random new card showing on the center card pile. The only thing you do next is click on the card pile at the clock location matching the current card.
Let's say, for example, that you see a 7H on the center pile when the game starts. 7H represents the seven of hearts card. You locate the pile at the 7:00 clock position and click on that pile to display the next card that needs to be "moved" to the correct pile.
If you start a new game and just press the "Step" button a few times and you will see the pattern.
Just to double check I downloaded the zip file I posted earlier, unpacked it and the game performed as it should.
If you start a new game you will see a random new card showing on the center card pile. The only thing you do next is click on the card pile at the clock location matching the current card.
Let's say, for example, that you see a 7H on the center pile when the game starts. 7H represents the seven of hearts card. You locate the pile at the 7:00 clock position and click on that pile to display the next card that needs to be "moved" to the correct pile.
If you start a new game and just press the "Step" button a few times and you will see the pattern.
Re: Card Games: Clock Patience (aka Clock Solitaire)
Hmmm.
When I click on "New Game", the center stack shows a valid card. I just did it and got "7C", seven of clubs. The field in the lower left says to flip from pile 13, the center pile, I assume onto the seventh pile.
Nothing I do, clicking, dragging, anything, actually changes anything. Clicking at or dragging from any stack at all, in fact, does nothing. What does "flip" mean? how do I move a card at all? How do I change anything, even if incorrectly?
Craig
When I click on "New Game", the center stack shows a valid card. I just did it and got "7C", seven of clubs. The field in the lower left says to flip from pile 13, the center pile, I assume onto the seventh pile.
Nothing I do, clicking, dragging, anything, actually changes anything. Clicking at or dragging from any stack at all, in fact, does nothing. What does "flip" mean? how do I move a card at all? How do I change anything, even if incorrectly?
Craig
Re: Card Games: Clock Patience (aka Clock Solitaire)
Craig,
I developed this game in version 10.0.2, the latest stable version of LiveCode and also tested it in LiveCode Create DP7 with no issues. What version of LC are you using so I can test it on that version? Also, if you press the Auto-Play button does the game play to the end?
I can't think of another reason why this won't work for you. I'd like to hear if anyone else is having a problem with the game I reposted here today.
Typically I develop for 10.0.0 + versions of LiveCode, including LiveCode Create DP7.
-Mike
I developed this game in version 10.0.2, the latest stable version of LiveCode and also tested it in LiveCode Create DP7 with no issues. What version of LC are you using so I can test it on that version? Also, if you press the Auto-Play button does the game play to the end?
I can't think of another reason why this won't work for you. I'd like to hear if anyone else is having a problem with the game I reposted here today.
Typically I develop for 10.0.0 + versions of LiveCode, including LiveCode Create DP7.
-Mike
Re: Card Games: Clock Patience (aka Clock Solitaire)
Mike.
Aha. Maybe.
I am in 9.6.9
Craig
Aha. Maybe.
I am in 9.6.9
Craig