Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:10 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 : Rock-Scissors-Paper-PATH game for CMM2

Author Message
William Leue
Guru

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

This is a pretty silly and easy little puzzle/game. I didn't invent it: saw it online somewhere. Anyway, here is my version for CMM2. A mouse is required: sorry!

Enjoy!
-Bill





RSPP.zip
 
led-bloon

Senior Member

Joined: 21/12/2014
Location: Australia
Posts: 207
Posted: 01:41am 30 Aug 2022
Copy link to clipboard 
Print this post

And for those that do not have a CMM2, there's this:

Rock, paper, scissors

led
Miss you George
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1132
Posted: 05:31am 30 Aug 2022
Copy link to clipboard 
Print this post

Neat!

It wouldn't run on my CMM2 with PS/2 mouse until I added ",MCHAN" to each mouse function (after changing const MCHAN = 0.) For example, I had to change
' Make cursor track the mouse
sub UpdateCursor
  gui cursor mouse(X), mouse(Y)
end sub
to
' Make cursor track the mouse
sub UpdateCursor
  gui cursor mouse(X,MCHAN), mouse(Y,MCHAN)
end sub


Took me a bit to realize that I must choose the starting icon.

A nice addition would be clickable buttons for the keyboard commands. Maybe even a timer.
Visit Vegipete's *Mite Library for cool programs.
 
William Leue
Guru

Joined: 03/07/2020
Location: United States
Posts: 405
Posted: 11:59am 30 Aug 2022
Copy link to clipboard 
Print this post

Pete, I only use a USB mouse on my CMM2 Gen 2, so I was unaware of that requirement for running with a PS/2 mouse.

I am thinking of adding the ability to run using keyboard arrow commands instead of a mouse.

-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