Games & fun · Value
Rock paper scissors winner
Who wins between two picks of rock, paper or scissors: 1 the first, 2 the second, 0 a draw.
rps.winner
In a flow
“Works out rock paper scissors winner whenever a step wired to it needs the answer.”
rock vs scissors → 1
What it does
Who wins between two picks of rock, paper or scissors: 1 the first, 2 the second, 0 a draw. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 4 values later steps can use. Find it under Games & fun in the palette.
When to use it
Use it for games and fun: who wins between two picks of rock, paper or scissors: 1 the first, 2 the second, 0 a draw.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Sockets: settings you can wire
- First pick Text
-
Rock, paper or scissors.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses rock.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
- Second pick Text
-
Rock, paper or scissors.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses scissors.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
Values it gives
- Winner Number
-
1 the first, 2 the second, 0 a draw. e.g. 1
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Draw Yes / no
-
On for a draw. e.g. off
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 572 more
- First wins Yes / no
-
On when the first pick wins. e.g. on
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 572 more
- As text Text
-
Like Rock beats scissors. e.g. Rock beats scissors.
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 577 more