Rock... Paper... Scissors... Program it!

Post gaming related scripts
Raptor537
Posts: 7
Joined: 13 Dec 2017, 23:37

Rock... Paper... Scissors... Program it!

14 Dec 2017, 00:04

Lets see who can make the best rock paper scissors script!
This is mine!

Code: [Select all] [Expand] [Download] (Rock Paper Scissors.ahk)GeSHi © Codebox Plus

TheDewd
Posts: 921
Joined: 19 Dec 2013, 11:16
Location: USA

Re: Rock... Paper... Scissors... Program it!

14 Dec 2017, 10:00

Here's my attempt... Now time to do a "Rock, Paper, Scissors, Lizard, Spock".

Image

Code: [Select all] [Expand] [Download] (Untitled.ahk)GeSHi © Codebox Plus

Raptor537
Posts: 7
Joined: 13 Dec 2017, 23:37

Re: Rock... Paper... Scissors... Program it!

14 Dec 2017, 20:13

TheDewd wrote:Here's my attempt... Now time to do a "Rock, Paper, Scissors, Lizard, Spock".

Image

Code: [Select all] [Expand] [Download] (Untitled.ahk)GeSHi © Codebox Plus


Nice!
User avatar
jeeswg
Posts: 4508
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Rock... Paper... Scissors... Program it!

15 Dec 2017, 01:11

Great. I have now written a game in AutoHotkey. I'm pretty good at guessing what the computer is going to do next.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

Raptor537
Posts: 7
Joined: 13 Dec 2017, 23:37

Re: Rock... Paper... Scissors... Program it!

15 Dec 2017, 23:05

jeeswg wrote:Great. I have now written a game in AutoHotkey. I'm pretty good at guessing what the computer is going to do next.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus


This is pretty good but it would be nice if that cancel button in the inputbox is functional. I like the scores, something I didn't add to mine. Also, I noticed that the computer always does scissors... technical glitch, or coincidence.
Raptor537
Posts: 7
Joined: 13 Dec 2017, 23:37

Re: Rock... Paper... Scissors... Program it!

15 Dec 2017, 23:10

I programmed mine with the random command as the choosing command for the opponent's turn, very useful command, random...
Raptor537
Posts: 7
Joined: 13 Dec 2017, 23:37

Re: Rock... Paper... Scissors... Program it!

15 Dec 2017, 23:11

At the moment, TheDewd has the best one, and also, making mine took a while thinking of all the possible combinations of 3 words, rock, paper, and scissors.
User avatar
Xeo786
Posts: 185
Joined: 09 Nov 2015, 02:43
Location: Karachi, Pakistan

Re: Rock... Paper... Scissors... Program it!

16 Dec 2017, 01:02

How about mixing AHK GUI ActiveX and HTML :HeHe:

Code: [Select all] [Expand] [Download] (Untitled.ahk)GeSHi © Codebox Plus

"When there is no gravity, there is absolute vacuum" -Game changer theory
User avatar
SpeedMaster
Posts: 175
Joined: 12 Nov 2016, 16:09

Re: Rock... Paper... Scissors... Program it!

16 Dec 2017, 15:24

Hello,
I used some function of my snake puzzle game and CLASS CtlColors (by Just_me)
Here's my attempt... :D

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

Attachments
rock_paper_scissors.png
rock_paper_scissors.png (9.61 KiB) Viewed 624 times
Raptor537
Posts: 7
Joined: 13 Dec 2017, 23:37

Re: Rock... Paper... Scissors... Program it!

23 Dec 2017, 19:06

If I had to say, Speed Master and TheDewd won this! Also, Xeo786 was close to this because of his interesting combination of AHK Gui, ActiveX, and HTML.
TheDewd
Posts: 921
Joined: 19 Dec 2013, 11:16
Location: USA

Re: Rock... Paper... Scissors... Program it!

23 Dec 2017, 19:14

I plan to improve my version soon.
Raptor537
Posts: 7
Joined: 13 Dec 2017, 23:37

Small Edit

23 Dec 2017, 19:16

I've made a small edit to mine. :dance:

Code: [Select all] [Expand] [Download] (Rock Paper Scissors by Raptor537.ahk)GeSHi © Codebox Plus


Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 4 guests