Bitcoin Forum

Economy => Marketplace => Topic started by: mmavipc on June 22, 2011, 04:03:58 AM



Title: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: mmavipc on June 22, 2011, 04:03:58 AM
http://mmavipc.dyndns.org:8080/index.php

There's no minimum bet, but you cant withdraw funds unless you have a balance of 0.01BTC or higher. Free-play is available, just bet 0BTC.

For 150% and 200%, you enter a number, and it tells you whether the number it's thinking of is higher or lower than what you entered you have 6 chances.

For 300%, you have 12 chances, but it just tells you if the number is wrong or right.

Even if you don't want to bet anything, please test it out with freeplay, just for the sake of testing it.

Suggestions? Tweaks? Comments?


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!]
Post by: nhodges on June 22, 2011, 04:10:36 AM
Do I put bet amount or wallet hash in the input?


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!]
Post by: mmavipc on June 22, 2011, 04:11:17 AM
Do I put bet amount or wallet hash in the input?

amount


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!]
Post by: nhodges on June 22, 2011, 04:13:49 AM
Interesting concept, I don't want to bet real BTC, but here are two things you should fix: the misspelling of the word balance, and the fact that there's no message if you're wrong, it just feels broken.


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!]
Post by: mmavipc on June 22, 2011, 04:17:17 AM
no message if you're wrong

wrong in what? Please be more descriptive.


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!]
Post by: tsvekric on June 22, 2011, 05:16:08 AM
hey, trying to cash out I get an error.  I was #72 and my current balance is .585 trying to enter an address of 1N2yiCkxh2DqpvNR6BqEg2uuqFkFuaeyA3

Besides that the game is pretty cool


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!]
Post by: tsvekric on June 22, 2011, 05:17:50 AM
oh btw the error is:

Warning: fopen(http://...@127.0.0.1:8332/) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in C:\httpd\jsonRPCClient.php on line 132
An error occured sending the funds
Re-enter an address to try again, or type back to return to the main menu


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!]
Post by: mmavipc on June 22, 2011, 05:19:10 AM
oh btw the error is:

Warning: fopen(http://...@127.0.0.1:8332/) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in C:\httpd\jsonRPCClient.php on line 132
An error occured sending the funds
Re-enter an address to try again, or type back to return to the main menu

I didn't have enough funds, I was off by 0.01 BTC to pay you off, I just got a friend to lend me it, try now.

Edit: if it still doesn't work, PM me the secret key part of your URL along with the address you want me to send it to.


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!]
Post by: mmavipc on June 22, 2011, 05:41:17 AM
oh btw the error is:

Warning: fopen(http://...@127.0.0.1:8332/) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in C:\httpd\jsonRPCClient.php on line 132
An error occured sending the funds
Re-enter an address to try again, or type back to return to the main menu

Just saw you trying to withdraw, sorry for the 403, some script kiddie was trying to break it, so I just setup ip blacklisting, it should be working fine now.


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!]
Post by: mmavipc on June 22, 2011, 06:16:10 AM
I've changed the 150% of your bet to be 1-125 instead of 1-100, could I get more people to test it out for me? Thanks.


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!]
Post by: tsvekric on June 22, 2011, 06:48:22 AM
got my withdrawal, good game

I don't know if I'd continue playing with the odds/payout changed though


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!]
Post by: mmavipc on June 22, 2011, 06:58:27 AM
I'll put 150% back to 1-100 when I get some money to back it up for when people actually do win. I'll probably have to set a max bet too. I'm out for the night, and I'll be back tomorrow, so you might not want to put any money in until then.


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!]
Post by: mmavipc on June 22, 2011, 08:00:50 PM
I'm back, if anyone wants to donate some BTC so I can put the odds back to normal, that would be appriciated. I'll be working on the code for a bit to add a way for me to track everyone's wins & losses, maybe I'll add a stats page later.


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!]
Post by: mmavipc on June 22, 2011, 08:32:32 PM
I'm done, hell, even a 0.05BTC donation would be enough for me to put the odds back to normal and put on a max bet


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: mmavipc on June 22, 2011, 09:22:24 PM
I've setup a maximum bet and put 150% back to 1-100 instead of 1-125. Max bet is currently .005, what have you got to loose?


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: TiagoTiago on June 22, 2011, 10:38:53 PM
Could you make it so it reveals the secret number if the player gets it wrong in all tries? Kinda annoying to try to guess and then not only i don't win but i can't find out what the number was.
edit: nvm, found it



Also, how about a third error reporting mode besides right/wrong and lower/higher: colder/warmer (like that kids play, you're getting warmer, warmer, warmer, colder, colder, warmer; if you're closer than your last guess it's warmer, if your further from the target you're colder) ? Though with this one the first try would still only be right or wrong, no relative position since there wasn't any position before the first; or perhaps call it just "warm" and "cold" for the first guess depending on whether the guess was less or more distant from the target than a third of the total range or somthing like that.


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: TiagoTiago on June 22, 2011, 10:50:47 PM
Btw, i think if you make game #1 allow for 7 tries i'll be able to win 100% of the time, i'm not completly sure though


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: TiagoTiago on June 23, 2011, 12:03:24 AM
Btw, if anyone wants it, here's a little thing i sketched together in Python (i hardly know how to program in Python, there are probably tons of of ways this could be improved) to assist me with playing game mode 1:



Code:
rango = 100.0 #The biggest number possible

maxtries = 6 #how many tries before you loose


#####################################
#No need to modify the lines bellow
#####################################

lastguess = rango / 2

guesscount = 0



if __name__ == '__main__':
    done = 0
   
    print "Try: " + str(lastguess)
    while not(done):
           

        result = input("Is the goal (1)Higher or (0)Lower than that? ")
        i = 0
        adder = rango / 2
        for i in range(0,guesscount+1):
            adder = adder / 2
        if result == 1:
            lastguess = lastguess + adder
           
        elif result == 0:
            lastguess = lastguess - adder
           
        guesscount = guesscount +1
       
        if guesscount+1 >= maxtries:  #comment out these two lines
            done = 1                # to keep trying after you loose

        if guesscount == maxtries-1:
            print  "Last try *crosses fingers*" "\nOk, try: " + str(lastguess) #+ " adder " + str(adder)
        elif guesscount < maxtries-1:
            print  "Tries left: " + str(maxtries - guesscount) + "\nOk, try: " + str(lastguess) #+ " adder " + str(adder)
        else:
            print  "Ran out of tries :(" + "\nOk, try: " + str(lastguess) #+ " adder " + str(adder)
       
    pass


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: TiagoTiago on June 23, 2011, 12:28:06 AM
Hm, i made anegative bet, and now my funds are negative, if i try to cash out it says:

Quote
Warning: fopen(http://...@127.0.0.1:8332/) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in C:\httpd\jsonRPCClient.php on line 132
An error occured sending the funds



Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: BtcNmcMiner on June 23, 2011, 02:39:27 AM
How many confirmations does it take for funds to appear in my balance, I sent .03 and so far it has 8 confirmations but I don't see it on the site, it was sent to: 1CWvyMdBwrT9F4Dm47rZUmUCEQ27P4G6TZ

Thanks!

Edit - I don't know what I originally pasted in, but it wasn't a bitcoin address, above is the address I sent to.


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: BtcNmcMiner on June 23, 2011, 05:03:13 AM
You might want to do something about this error code ::)


http://img34.imageshack.us/img34/4307/unledlsw.png


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: mmavipc on June 23, 2011, 06:08:01 AM
You might want to do something about this error code ::)


http://img34.imageshack.us/img34/4307/unledlsw.png

That secret key is impossible, it's not possible to generate one with a space(%20)

I've been sucked dry by people putting in negative bets and then loosing, anyone who had any negative numbers in the DB has been wiped. If you cashed out because of a negative bet, could you please send back the money, you can find the address in my signature, if you want to donate, send money to the address in my signature also.


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: BtcNmcMiner on June 23, 2011, 06:12:37 AM
You might want to do something about this error code ::)


http://img34.imageshack.us/img34/4307/unledlsw.png

That secret key is impossible, it's not possible to generate one with a space(%20)

I've been sucked dry by people putting in negative bets and then loosing, anyone who had any negative numbers in the DB has been wiped. If you cashed out because of a negative bet, could you please send back the money, you can find the address in my signature, if you want to donate, send money to the address in my signature also.

I think I figured it out I think it was from the way I copied and pasted it into notepad.

Did you ever receive the .03? They never did show up on the account I was playing with.


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: mmavipc on June 23, 2011, 06:13:35 AM
You might want to do something about this error code ::)


http://img34.imageshack.us/img34/4307/unledlsw.png

That secret key is impossible, it's not possible to generate one with a space(%20)

I've been sucked dry by people putting in negative bets and then loosing, anyone who had any negative numbers in the DB has been wiped. If you cashed out because of a negative bet, could you please send back the money, you can find the address in my signature, if you want to donate, send money to the address in my signature also.

I think I figured it out I think it was from the way I copied and pasted it into notepad.

Did you ever receive the .03? They never did show up on the account I was playing with.

I did, but the account that received it had negative numbers, so it just got wiped from the DB.


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: TiagoTiago on June 23, 2011, 06:17:07 AM
It didn't send me any money when i tried to cash out, i hope the money didn't go to some dead address...


Did you fix the negative numbers bug yet?




erm
Quote
wrong secret key you motherfucker !!bgzkX$ZBK!!Ty$$$$z$QXP!!lQ!h!$$UjJ!ImM
I tried to help you find bugs with your system, you asked me to; why are you calling me names? 0.0


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: BtcNmcMiner on June 23, 2011, 06:20:38 AM
Ok, in the spirit of transparency, I was one person to make a withdrawal due to negatives, I as actually testing just to see if it would work and was going to let you know about it once I saw you were back online here anyway.

The cashed out amount was for .04635 -.0005 fee so I got .04585

This was on URL http://mmavipc.dyndns.org:8080/index.php?userid=760&secretkey=c$!E$!!$g!brg!zBk!K$!WGSc$$$h!nBrco$!$bD

If I was never credited for the .03 then it looks like I owe you .04635 - .03 = .01635

Is that right?


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: mmavipc on June 23, 2011, 06:21:32 AM
It didn't send me any money when i tried to cash out, i hope the money didn't go to some dead address...


Did you fix the negative numbers bug yet?




erm
Quote
wrong secret key you motherfucker !!bgzkX$ZBK!!Ty$$$$z$QXP!!lQ!h!$$UjJ!ImM
I tried to help you find bugs with your system, you asked me to; why are you calling me names? 0.0

What's your userid? The only time you'd get the wrong secret key error is if you were wiped from the DB, or you were trying to steal someone's account, it's calling you a motherfucker because of the possibility of the latter.


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: mmavipc on June 23, 2011, 06:23:12 AM
Ok, in the spirit of transparency, I was one person to make a withdrawal due to negatives, I as actually testing just to see if it would work and was going to let you know about it once I saw you were back online here anyway.

The cashed out amount was for .04635 -.0005 fee so I got .04585

This was on URL http://mmavipc.dyndns.org:8080/index.php?userid=760&secretkey=c$!E$!!$g!brg!zBk!K$!WGSc$$$h!nBrco$!$bD

If I was never credited for the .03 then it looks like I owe you .04635 - .03 = .01635

Is that right?


That's right. But since you were honest, you can keep it, but feel free to donate it if you want ;P


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: BtcNmcMiner on June 23, 2011, 06:30:49 AM
Ok, in the spirit of transparency, I was one person to make a withdrawal due to negatives, I as actually testing just to see if it would work and was going to let you know about it once I saw you were back online here anyway.

The cashed out amount was for .04635 -.0005 fee so I got .04585

This was on URL http://mmavipc.dyndns.org:8080/index.php?userid=760&secretkey=c$!E$!!$g!brg!zBk!K$!WGSc$$$h!nBrco$!$bD

If I was never credited for the .03 then it looks like I owe you .04635 - .03 = .01635

Is that right?


That's right. But since you were honest, you can keep it, but feel free to donate it if you want ;P


Naw, I don't want to keep it, I was just helping you test. I see you fixed the problem! What address should I send to?


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: TiagoTiago on June 23, 2011, 06:31:49 AM
The account got wiped 'cause you didn't check the values i wrote properly; i never managed to get any money out, as i explained here, it gave me an error when i tried to test how it would react. I'm glad i respected my intuition of not putting any of my own money into this thing.


If you're upset you lost money, don't be upset at us, be upset at you for being careless with your code and using real money when we have testnet avaiable for testing things...


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: mmavipc on June 23, 2011, 06:33:18 AM
-snip-

Naw, I don't want to keep it, I was just helping you test. I see you fixed the problem! What address should I send to?
[/quote]


http://payb.tc/mmavipc Thanks


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: BtcNmcMiner on June 23, 2011, 06:35:36 AM
-snip-

Naw, I don't want to keep it, I was just helping you test. I see you fixed the problem! What address should I send to?


http://payb.tc/mmavipc Thanks
[/quote]

It's on the way, good luck with the game :)


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: mmavipc on June 23, 2011, 06:36:39 AM
The account got wiped 'cause you didn't check the values i wrote properly; i never managed to get any money out, as i explained here, it gave me an error when i tried to test how it would react. I'm glad i respected my intuition of not putting any of my own money into this thing.


If you're upset you lost money, don't be upset at us, be upset at you for being careless with your code and using real money when we have testnet avaiable for testing things...

Are you upset that I wiped your account? On a beta website? I'm not upset that I lost money, as I didn't have that much(.02BTC)


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: TiagoTiago on June 23, 2011, 06:44:00 AM
I had missed the bit where you said that error message was directed at people attempting to steal accounts and we getting it was collateral damage; i thought you were angry at the people that found bugs in your game, and kinda got the impression you were accusing people of stealing money from you...i need sleep...


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: mmavipc on June 23, 2011, 06:49:30 AM
I had missed the bit where you said that error message was directed at people attempting to steal accounts and we getting it was collateral damage; i thought you were angry at the people that found bugs in your game, and kinda got the impression you were accusing people of stealing money from you...i need sleep...

No problem, sleep deprivation happens to all of us.


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: mmavipc on June 23, 2011, 08:59:08 PM
Bump so it's not buried.


Title: Re: Number Guessing Game [BETA] [Automated] [Freeplay avaliable!] Please test!
Post by: mmavipc on June 24, 2011, 12:25:08 AM
I've got enough BTC to increase the max bet from 0.005 to 0.01, go for it!

Current stats:
Total amount won by players: 0.02678125BTC
Total amount lost by players: 0.03628125BTC

Total amount gained by me: 0.0095BTC