![]() |
Forum Index : Microcontroller and PC projects : Rock-Scissors-Paper-PATH game for CMM2
Author | Message | ||||
William Leue Guru ![]() Joined: 03/07/2020 Location: United StatesPosts: 405 |
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: AustraliaPosts: 207 |
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: CanadaPosts: 1132 |
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 tosub UpdateCursor gui cursor mouse(X), mouse(Y) end sub ' 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 StatesPosts: 405 |
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 |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |