DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Rock Paper Scissors 25 - an old game, a very cool twist  (Read 20,568 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Seriously, things like this tell me there is still hope for this world of ours.
this takes the rock-paper-scissors game idea to a whole new level.  pure genius.

Quote
...
9/25/05: After receiving 100+ letters in the past two weeks (mostly) raving about RPS-15 and including lots of ideas for more gestures, and also with so many requests to incorporate gestures from other popular bastardizations of RPS, I elected to cap this whole nightmarishly ridiculous endeavor with an Earth-swallowing 25-gesture game. This is it...I swear I am done now.
...



from boingboing

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Rock Paper Scissors 25 - an old game, a very cool twist
« Reply #1 on: June 01, 2006, 08:58 PM »
Crazy, interesting and.. weird! ;)
Although i've tried a bunch of times to extend this game, i've never been successfull.
But i've invented one extension too: pickaxe! :D The problem was that it didn't make much sense, as it could destroy both the rock and the scisors. But it had a nice gesture!
Here it is:
Imagem(43).jpg

;D ;D

Seriously, things like this tell me there is still hope for this world of ours.
Oh.. Come one.. It's not a rps game that make that.. DC makes us believe there's hope ;)

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Rock Paper Scissors 25 - an old game, a very cool twist
« Reply #2 on: June 01, 2006, 09:03 PM »
I just remembered: Do you think anyone ever could remember all those precedences?

Here's my favourite:
"Monkey:
  • Flings poop at woman
  • Flings poop at man
"
That's a powerful ability! :D

momonan

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 227
Re: Rock Paper Scissors 25 - an old game, a very cool twist
« Reply #3 on: June 08, 2006, 04:35 PM »
This just in, for you hardcore rock paper scissors fans: :D

Legal Dispute to Be Settled By 'Rock, Paper, Scissors' Match

When two attorneys could not agree about where to take the sworn statement of a witness, a federal judge in Florida ordered them to settle their dispute by using the game of rock, paper, scissors "as a new form of alternative dispute resolution."

Matti Leshem, co-commissioner for the USA Rock Paper Scissors League, thinks it is a positive moment for the world when anyone uses rock paper scissors to adjudicate a dispute.  He does have some concerns, though, about the rules that will be used, such as the number of pumps before the throw or if "illegal" throws will be allowed.

To make sure official USARPS rules are followed, Lesham and his staff are willing to fly down to Florida to oversee the match so that rock, paper, scissors is not made a mockery by the legal system. "When people take rock, paper, scissors into their own hands," he said, "mayhem can occur."

The USA Rock Paper Scissors League is getting ready for its national championship on June 12, 2006, where the winner will receive $50,000. The tournament will air on A&E.
When you can't be a good example, then you'll just have to be a horrible warning - Catherine Aird

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Rock Paper Scissors 25 - an old game, a very cool twist
« Reply #4 on: June 08, 2006, 08:54 PM »
The USA Rock Paper Scissors League is getting ready for its national championship on June 12, 2006, where the winner will receive $50,000. The tournament will air on A&E.
:huh: :huh: There's a "USA Rock Paper Scissors League" ??  ;D ;D

PhilKC

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 117
    • Coding Snacks
Re: Rock Paper Scissors 25 - an old game, a very cool twist
« Reply #5 on: June 08, 2006, 09:55 PM »
I need a job or something >_>

http://bluescreenofdeath.co.uk/DC/RPS%2025.exe

Code: (cpp)
#include <iostream>

using namespace std;

void fillArrays();
int getHand(bool);
int findWinner(int, int);

const int maxValue = 25;
static char* names[maxValue];
static int values[maxValue];

int main()
{
    cout << endl;
    srand (time(NULL));
    fillArrays();
    int player = getHand(false);
    int cpu = getHand(true);
    int win = findWinner(player, cpu);
    if (win == 0)
       cout << "YOU WIN!";
    else if (win == 1)
       cout << "I WIN!";
    else
       cout << "Draw :(";
    cout << endl;
    system("PAUSE");
    return EXIT_SUCCESS;
}

int findWinner(int player, int cpu)
{
    if (player == cpu)
       return 2;
    if (player > 12)
    {
       if ((player < cpu) && (player > (cpu - 12)))
          return 1;
       return 0;
    }
    if (cpu > (player + 12))
       return 0;
    return 1;
}

int getHand(bool cpu)
{
    int hand = 0;
    if (cpu)
    {
       hand = rand() % maxValue;
       cout << "I picked " << names[hand] << endl;
    }
    else
    {
        cout << "Pick your hand! (By number): ";
        cin >> hand;    
        cout << endl << "Ok, you picked " << names[hand] << endl;
    }      
    return hand;  
}

void fillArrays()
{
     names[0] =         "Gun";
     names[1] =         "Dynomite";
     names[2] =         "Nuke";
     names[3] =         "Lightning";
     names[4] =         "Devil";
     names[5] =         "Dragon";
     names[6] =         "Alien";
     names[7] =         "Water";
     names[8] =         "Bowl";
     names[9] =         "Air";
     names[10] =        "Moon";
     names[11] =        "Paper";
     names[12] =        "Sponge";
     names[13] =        "Wolf";
     names[14] =        "Cockroach";
     names[15] =        "Tree";
     names[16] =        "Man";
     names[17] =        "Woman";
     names[18] =        "Monkey";
     names[19] =        "Snake";
     names[20] =        "Axe";
     names[21] =        "Scissors";
     names[22] =        "Fire";
     names[23] =        "Sun";
     names[24] =        "Rock";
     int i;
     for (i=0;i<25;i++)
     {
         values[i] = i;
         cout << i << " - " << names[i] << endl;
     }
     cout << endl;     
}

PhilKC
It's not a bug, it's an undocumented and unexplainable feature.
Stick it on your site:

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Rock Paper Scissors 25 - an old game, a very cool twist
« Reply #6 on: June 08, 2006, 10:56 PM »
8) Nice Phil!
You could add a number of repetitions, though. So that i could take a bunch of tries, and see who gets the best score.

This might be a good way to make decisions in life...
"should i suicide myself? Let's ask RPS%2025.exe
I choose axe. The computer chose scisors. I Lose.. Ho well.. Where's that rope?"

ljbirns

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 229
Re: Rock Paper Scissors 25 - an old game, a very cool twist
« Reply #7 on: June 09, 2006, 11:58 PM »
See the following:
Judge Makes 'Rock, Paper, Scissors' Ruling

    *

Article Tools Sponsored By
By THE ASSOCIATED PRESS
Published: June 9, 2006

Filed at 7:56 a.m. ET

TAMPA, Fla. (AP) -- A federal judge, miffed at the inability of opposing attorneys to agree on even the slightest details of a lawsuit, ordered them to settle their latest dispute with a game of ''rock, paper, scissors.''

The argument was over a location to take the sworn statement of a witness in an insurance lawsuit.

In an order signed Tuesday, U.S. District Judge Gregory Presnell scolded both sides and ordered them to meet at a neutral location at 4 p.m. June 30 to play a round of the hand-gesture game often used to settle childhood disputes. If they can't agree on the neutral location, he said, they'll play on the steps of the federal courthouse.

The winner gets to choose the location for the witness statement.

''We're going to have to do it,'' said David Pettinato, lead attorney for the plaintiff, Avista Management. ''I guess I'd better bone up on 'rock, paper, scissors' rules.''

Last year, officials of the auction houses Christie's and Sotheby's engaged in the game to decide who would get to sell a $17.8 million collection of art offered by a Japanese electronics company. Christie's won.

Lew
Lew

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Rock Paper Scissors 25 - an old game, a very cool twist
« Reply #8 on: June 10, 2006, 07:31 AM »
this would make a great multiplayer flash game!

hamradio

  • Amateur Radio Guy
  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 893
    • Plugin Coding Medal
    • Participated in NANY Challenge Fifteen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
    • Hardware Hacker
Re: Rock Paper Scissors 25 - an old game, a very cool twist
« Reply #9 on: June 22, 2006, 04:12 AM »
I just posted the Flash Game I found that has it there.

Original address: https://www.donationcoder.com/forum/index.php?topic=3866.0