StealthBot.net: Ultimate RPS (Rock Paper Scissors) - StealthBot.net

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Ultimate RPS (Rock Paper Scissors) Version 1.0

#1 User is offline   Novynn Icon

  • Silver Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 873
  • Joined: October-07 09

Posted February 28, 2010 - 04:05 AM

Ultimate Rock Paper Scissors

Author: Neco
Version: 1.0

Description: Allows users to play "against the computer" in a game of Ultimate Rock Paper Scissors.

Commands:
.rps <hand> | The hand that you choose to play against the computer.

.rpslist | Returns a list of all the available hands.

.rpsdata <hand> | Displays a list of all the hands the specified hand beats.

Note: This is just the first version. Next version I plan to add a ranking / scoring system.

Download Instructions: Download this and place it in your bots scripting folder. Attached File  Ultimate RPS.txt (6.66K)
Number of downloads: 154
Or you can copy the code into an empty text file in your bots scripting folder
Spoiler

Example of Usage:
 [05:01:35 PM] <Neco> .rps Blah
 [05:01:35 PM] <Bot> Invalid hand. Type .rpslist to get a list of valid hands.
 [05:01:39 PM] <Neco> .rpslist
 [05:01:46 PM] <Bot> Hands: Rock, Sun, Fire, Scissors, Axe, Snake, Monkey, Woman, Man, Tree, Cockroach, Wolf, Sponge, Paper, Moon, Air, Bowl, Water, Alien, Dragon, Devil, Lightning, Nuke, Dynamite, Gun.
 [05:01:49 PM] <Neco> .rps Rock
 [05:01:49 PM] <Bot> Bot has chosen Water.
 [05:01:51 PM] <Bot> Bot's Water beats Neco's Rock!
 [05:01:58 PM] <Neco> .rpsdata Water
 [05:01:58 PM] <Bot> Water beats: Rock, Sun, Fire, Scissors, Axe, Alien, Dragon, Devil, Lightning, Nuke, Dynamite, Gun.


#2 User is offline   Irrelevant Icon

  • Resident Wonder
  • PipPipPip
  • Group: Senior Members
  • Posts: 156
  • Joined: October-07 09

Posted February 28, 2010 - 10:20 AM

nice job Neco. looks cool. well put together.
STEALTH Bot 2.7 Build whatever ----> there is no substitute !

#3 User is offline   Roanapur Icon

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 60
  • Joined: January-11 10

Posted March 02, 2010 - 08:26 AM

Works great.

Is there any chance of this being able to play against another person not just a computer?

This post has been edited by Eldritch: March 02, 2010 - 08:26 AM


#4 User is offline   GurkenKinG Icon

  • Emperor of TBR
  • PipPipPip
  • Group: Members
  • Posts: 268
  • Joined: October-13 09

Posted March 02, 2010 - 02:26 PM

View PostEldritch, on 02 March 2010 - 09:26 AM, said:

Works great.

Is there any chance of this being able to play against another person not just a computer?

You mean like whispering your choice to the bot and the other player does too? I think that's pretty easy to do, but I will leave it to Neco, since it's his script! Btw, your script is really cool Neco :D +rep
Posted Image


Posted Image

#5 User is offline   Roanapur Icon

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 60
  • Joined: January-11 10

Posted March 02, 2010 - 08:50 PM

View PostGurkenKinG, on 02 March 2010 - 06:26 AM, said:

You mean like whispering your choice to the bot and the other player does too? I think that's pretty easy to do, but I will leave it to Neco, since it's his script! Btw, your script is really cool Neco :D +rep


Yes, each player whispering there choice to bot and it then announces who played what and who was the winner.

#6 User is offline   Kotton Icon

  • I’ve got a problem for your solution…
  • PipPipPip
  • Group: Members
  • Posts: 270
  • Joined: December-13 09

Posted March 05, 2010 - 07:26 PM

Sweet, this is awesome

Good work :lol:
I don't wear a helmet when I ride the special bus, It impedes my window licking abilities

#7 User is offline   Novynn Icon

  • Silver Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 873
  • Joined: October-07 09

Posted March 27, 2010 - 12:25 AM

Update
Version 1.1
Changes:
  • Scoring System implemented.
  • Minor adjustments

Download
Attached File  RPS - Rock Paper Scissors.txt (11.97K)
Number of downloads: 253

#8 User is offline   Abraxas Icon

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 69
  • Joined: October-13 09

Posted March 27, 2010 - 12:47 AM

I love the script Neco! Thanks! I also really like Roanapur's PVP suggestion, but I know nothing about scripting.

#9 User is offline   Novynn Icon

  • Silver Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 873
  • Joined: October-07 09

Posted March 28, 2010 - 03:00 AM

Update
Version 1.2
Changes:
  • Reasons added. This means that when the bot outputs the result, it will put the reason. For example:

    Quote

    [ OLD ] Neco's Woman beats Bot's Water!
    [ NEW ] Neco's Woman drinks Bot's Water!

Download
I couldn't attach the file for some reason... so here (removed) is an external link.
If you're worried about the link containing a virus, just PM me for the code - spoilers are still broken and I don't want half the page taken up.
Spoiler

Attached File(s)


This post has been edited by Ribose: April 04, 2010 - 11:55 PM
Reason for edit:: You fail. Spoilers were only disabled in signatures due to abuse and you messed up your quote and list tags, ruining the layout.


#10 User is offline   Novynn Icon

  • Silver Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 873
  • Joined: October-07 09

Posted April 08, 2010 - 05:17 AM

Update
Version 1.3
Changes:
  • Just an under-the-hood change so that the scoring system is separate. You'll need to have both the "Scoring.txt" and this script for it to work otherwise it will present errors. Place the "Scoring.txt" file into your "\scripts" folder along with the Ultimate RPS text file.

Notes:
The scoring systems file name must be "Scoring.txt" (without quotes).
If you have downloaded another updated script that came with the scoring system, you should not need to redownload it unless it shows a different version.
Download
Rock Paper Scissors v1.3
Attached File  RPS - Rock Paper Scissors.txt (21.52K)
Number of downloads: 134
Scoring System v2.0
Attached File  Scoring.txt (3.25K)
Number of downloads: 112

#11 User is offline   anonymous25 Icon

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 23
  • Joined: October-13 10

Posted November 22, 2010 - 12:52 AM

View PostNovynn, on 08 April 2010 - 05:17 AM, said:

Update
Version 1.3
Changes:
  • Just an under-the-hood change so that the scoring system is separate. You'll need to have both the "Scoring.txt" and this script for it to work otherwise it will present errors. Place the "Scoring.txt" file into your "\scripts" folder along with the Ultimate RPS text file.

Notes:
The scoring systems file name must be "Scoring.txt" (without quotes).
If you have downloaded another updated script that came with the scoring system, you should not need to redownload it unless it shows a different version.
Download
Rock Paper Scissors v1.3
Attachment RPS - Rock Paper Scissors.txt
Scoring System v2.0
Attachment Scoring.txt


Is there anyway you can make this work for all users that join my channel??
Thank u!

#12 User is offline   PhiX Icon

  • Notice the ownage.
  • Icon
  • Group: Administrators
  • Posts: 8,388,607
  • Joined: July-31 09

Posted November 22, 2010 - 04:07 PM

You can change the required access of the commands in the Command Manager.
PhiX

BNLS: phix.no-ip.org

Please refrain from sending me personal messages regarding technical support issues. Use the forums, that is what they are there for.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users