Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:15 01 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Solitaire Game for CMM2

Author Message
William Leue
Guru

Joined: 03/07/2020
Location: United States
Posts: 405
Posted: 04:16pm 20 Mar 2022
Copy link to clipboard 
Print this post

Here is my version of Solitaire for the CMM2. It will let you play any one of 10 different games:
 Klondike
 Canfield
 EightOff
 PileOn
 Yukon
 Golf
 Bristol
 FreeCell
 FourSeasons
 Beleagured Castle




Unfortunately, I could not figure out a way to make playing a fun experience without a mouse, so this program DOES require a mouse.

Thanks to vegipete for the playing card images!

Enjoy!
-Bill


Solitaire.zip
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1132
Posted: 04:43pm 20 Mar 2022
Copy link to clipboard 
Print this post

Awesome job putting those images to good use!
Visit Vegipete's *Mite Library for cool programs.
 
bar1010
Senior Member

Joined: 10/08/2020
Location: United States
Posts: 197
Posted: 06:11pm 20 Mar 2022
Copy link to clipboard 
Print this post

Thanks for creating the Solitaire game, William.

Does anyone have a recommendation for a mouse that functions with Color Maximite 2?
 
William Leue
Guru

Joined: 03/07/2020
Location: United States
Posts: 405
Posted: 06:39pm 20 Mar 2022
Copy link to clipboard 
Print this post

  bar1010 said  Thanks for creating the Solitaire game, William.

Does anyone have a recommendation for a mouse that functions with Color Maximite 2?


It all depends on which CMM2 version you have. If you have a Gen2 version, pretty much any USB mouse works find just plugged into the port. If you have a Gen1 version, you have to do some more work. Take a look through past posts where there is a lot of discussion.

-Bill
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1642
Posted: 07:39pm 20 Mar 2022
Copy link to clipboard 
Print this post

The latest CMM2 manual on page 8 and 9 gives a lot of info on the 2 main options for adding a mouse.

Bill

Edit: And Bill, thanks for the program, I already spend too much time on the PC playing Freecell, I can't wait to try it.
Edited 2022-03-21 06:07 by Turbo46
Keep safe. Live long and prosper.
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 490
Posted: 12:38am 21 Mar 2022
Copy link to clipboard 
Print this post

  William Leue said  
  bar1010 said  Thanks for creating the Solitaire game, William.

Does anyone have a recommendation for a mouse that functions with Color Maximite 2?


It all depends on which CMM2 version you have. If you have a Gen2 version, pretty much any USB mouse works find just plugged into the port. If you have a Gen1 version, you have to do some more work. Take a look through past posts where there is a lot of discussion.

-Bill


The Gen 2 CMM2 has 2 options for that mouse port.  If you get the hobytronics mouse chip and install it, yes you can use USB mice.  I am not sure if anyone sells them with the chip installed.  If you don't have the hobytronics chip you can bridge the appropriate spots on the motherboard and then you can use a mouse that is USB/PS2 but NOT a USB-only mouse.  I use a straight PS2 mouse with a little pigtail that breaks out a PS2 female port with the USB connector on the CMM2 side.  I have a crapload of PS2-only mice that I love for nostalgia's sake.
 
bar1010
Senior Member

Joined: 10/08/2020
Location: United States
Posts: 197
Posted: 03:09am 22 Mar 2022
Copy link to clipboard 
Print this post

After thinking more about the issue of not having a mouse for CMM2, perhaps the best solution
is just to play the programs which require a mouse with MMBasic for Windows.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5089
Posted: 07:25am 22 Mar 2022
Copy link to clipboard 
Print this post

  Turbo46 said  I already spend too much time on the PC playing Freecell

Edited 2022-03-22 17:25 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5089
Posted: 07:46am 22 Mar 2022
Copy link to clipboard 
Print this post

Hi Bill,

Is there any info on the content of the xx.SOL files ?
I can try to re-engineer from the basic program, but that is prone to errors...
Anyway, an impressive piece of work. From the comments in the basic program I can kind of grasp how the program works. But lot's of it I am still investigating.

I am intrigued by the fact that you have been able to translate the different card game rule into data packets (the SOL files) with only minimal dedicated code (only 2 games types have either pre-processing, or -post processing).

Nice piece of work !

Volhout
PicomiteVGA PETSCII ROBOTS
 
William Leue
Guru

Joined: 03/07/2020
Location: United States
Posts: 405
Posted: 09:23pm 23 Mar 2022
Copy link to clipboard 
Print this post

  Volhout said  
Is there any info on the content of the xx.SOL files ?


There is no separate documentation, but if you look at the very end of the source code, there is a debug routine that prints out the decoded SOL file contents to the debug file. It should be pretty easy to figure out the file format from that. It's dead simple in any event.

-Bill
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025