Page 1 of 1

Whack-a-mole game

Posted: Mon Sep 10, 2007 6:49 pm
by Patrickh
Have fun, see if you can beat it :lol:

Posted: Wed Sep 12, 2007 3:24 pm
by blahblah675
WEWT !!! XD XD XD

Posted: Thu Sep 13, 2007 7:15 am
by Prey
Don't publish the game...it's waay too small to need an installer >_>
I was kinda hoping for something in DirectX...but ok, it's alright for a windows form game I guess...whack-a-mole has never really interested me though...

I'm assuming the game is yours? ..I'm asking because you don't seem to mention that anywhere, and your post is particularly bland <_<

Posted: Thu Sep 13, 2007 4:50 pm
by Patrickh
sorry about the installer, I never knew of any other way to publish it. And yeah, it's mine.
This was just for fun... not meant to be anything major...

BTW: why does it say 1097 downloads?

Posted: Thu Sep 13, 2007 5:30 pm
by DrXThirst
lmao, I just beat it and I guess I got a cyber cookie? lol.

Posted: Fri Sep 14, 2007 3:10 pm
by Patrickh
I bet Microsoft could actually make a cookie pop out of your disc drive. :shock:

Posted: Fri Sep 14, 2007 4:08 pm
by Cryticfarm
With the getCookie(). Function.

Posted: Sat Sep 15, 2007 1:03 am
by spikes122
hahah lol
nice game

Posted: Sat Sep 15, 2007 10:01 pm
by Patrickh
cryticfarm wrote:With the getCookie(). Function.
WRONG!
actually the correct code is this:

Code: Select all

Dim c As TypeOfCookie = Cookies.Chocolate_chip
DeliverCookie(c, DiscDrive)

Posted: Sun Sep 23, 2007 11:39 am
by Patrickssj6
Nice game but I think there is a mathematical error with the randomizer...can you post the lines of code you used to make it random?

Posted: Mon Sep 24, 2007 6:03 pm
by Patrickh
Patrickssj6 wrote:Nice game but I think there is a mathematical error with the randomizer...can you post the lines of code you used to make it random?
thanks
i can't post it right now, because my computer with visual studio is having issues and it is in 9000 pieces on by counter... :?

but it's something like this:

Code: Select all

Dim i As Integer
Dim r As System.Random
r = New Random(Now.Millisecond)
i = r.Next(1 , 8) 
8 because there are seven buttons, and if you put seven, the output is never seven
what's wrong with it?