This multi-player application relies on a SubGHz API that was recently changed. Older firmware will get a build error, due to not supporting the new API definitions.
It should build successfully on the following versions:
- Official firmware - RC 33.0
- Official firmware - Release 33.0
- Official firmware - DEV 34.1
- Unleashed firmware - DEV 34.0
- RogueMaster firmware - DEV 34.1
If you get error ``unknown type name 'SubGhzDevice'`` trying to build, then you need a newer firmware version.
This is a multi-player game of Rock, Paper, Scissors! In version 1.2, we use the [Flipper Zero](https://flipperzero.one/) Sub-GHz radio to find other players, communicate moves, and exchange contact information.
I recommend [FlipC.org](https://flipc.org/jamisonderek/flipper-zero-tutorials?branch=main&root=subghz/plugins/rock_paper_scissors&firmware=official) as the easiest way to install the game on your Flipper Zero.
- select a valid frequency. (like "433.92" in US region)
- choose a game number (like "042")
- click OK button to start game.
- On Flipper 2, choose "Join game".
- select the same valid frequency as Flipper 1.
- "game none" should change to show the game number from Flipper 1 & its name.
- click OK button to join game.
- Once two players are joined:
- Press "OK" to send "1". The other player should also press "OK" to send "1" back - Press "OK" to send "2". The other player should also press "OK" to send "2" back - Press "UP" to send a "Rock", or "RIGHT" to send a "Paper", or "DOWN" to send a "Scissors".
- Rules:
- Rock beats Scissors.
- Paper beats Rock.
- Scissors beat Paper.
- Two identical items tie.
- Play again screen will show the results of the game.
- Click "Right" to select "No".
- Click "Left" to select "Yes" (the default).
- Click "OK" to answer the prompt.
- Short press the BACK button for the main menu.
- Long press the BACK button to exit the game.
## Status
V1 completed features:
- The game logic is complete (two flippers can play against each other.)
- If you do not have two Flipper Zero devices, you can use a HackRF One to record messages & broadcast those messages at a future date. I made a [YouTube](https://www.youtube.com/watch?v=S0sgcDQrVOc) video demo of how to record and broadcast messages.
- Use the Flipper Zero to send a messasge that I record, then I play back that message at a later time when I want to pretend the other Flipper Zero is sending a message. You can use the chat app in https://lab.flipper.net/cli, like shown in the video to send a specific packet (or you can use your own code to create the packet.)
- Use the HackRF One to record the message from my Flipper Zero. Then later I use the chat app in https://lab.flipper.net/cli, to see what the message was (or I replay the message to see how my application would respond.)