Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: JoeMattie on July 23, 2013, 08:28:07 PM



Title: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: JoeMattie on July 23, 2013, 08:28:07 PM
Hey everybody.

I'd like to announce the project I've been working on for the last few weeks.

bit-loot.com (http://bit-loot.com) is a money hunting game: LTC (currently ~100) is hidden in tiles around the tree.  

Click the tiles you would like to search, paste in your LTC address, and click Go.  

The site will generate a unique receiving address and tell you how much it will cost to search those tiles.  

Send your bet, and bit-loot will search the tiles you selected and return any loot contained therein to your address.  

Your bet will then be randomly distributed across the tree for others to find.

The house takes a 2.5% cut.

Please report any bugs or post suggestions!

Edit:

Update: corrected a bug where ajax calls to validate.php (the script that checks the validity of a submitted LTC address) were getting blocked by modsecurity2

Apparently some LTC addresses being evaluated by a RegEX query were coming back as likely to be part of an SQL injection attack. Lol

It's fixed now.  If the site wasn't behaving properly for anybody, it should work now.


Edit:
There was a little confusion regarding the payout calculation method so I thought I would clarify:

When playing, the cost per tile is calculated with:

S = L / T

S = the per block cost to search.
L = Total loot on the board (for instance: 100)
T = Total number of tiles on the game board (400)

S = 100 / 400 = 0.25

So, to search two blocks, the cost would be 0.25 * 2 = 0.5

When the bet is received, the backend looks in specifially the coordinates you specified to see if they contain any loot. It adds up any loot that is found, deducts 2.5% from this and sends the rest to the address you provided.

Then, it takes your bet (0.5 in this case) and randomly places it in a tile on the board for someone else to find.  In the case of larger bets (say, 2 LTC for instance), it will distribute the loot across the board in increments approximately equal to 2x the per-block bet (2*S) (so it would hide 0.5 LTC in 4 different tiles).

Some tiles on the board will thus end up containing multiple bets worth of loot and are like mini "jackpots"

Hope this clears that up :)


Title: Re: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: FiiNALiZE on July 23, 2013, 08:33:21 PM
Interesting...

I'll give it a try. :)


Title: Re: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: FiiNALiZE on July 23, 2013, 09:03:23 PM
Found a bug: When I switch tabs and then switch back (in Chrome), the gridlines disappear and I have to refresh the page.


Title: Re: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: ribal on July 23, 2013, 09:05:52 PM
First try went ok and received the loot immidietly, on the second try nothing happend  ???


Title: Re: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: JoeMattie on July 23, 2013, 09:06:42 PM
First try went ok and received the loot immidietly, on the second try nothing happend  ???

transaction id?



Title: Re: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: JoeMattie on July 23, 2013, 09:07:45 PM
Found a bug: When I switch tabs and then switch back (in Chrome), the gridlines disappear and I have to refresh the page.

good call

hmmm, must be an html5 canvas thing...

I'll look into it


Title: Re: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: ribal on July 23, 2013, 09:10:07 PM
First try went ok and received the loot immidietly, on the second try nothing happend  ???

transaction id?



bd7e68141d13ead097fddfa931b28bb47cd61808781e76684917a9b6b96bd571

Or did i just not win anything? I thought there was always a even some tiny loot to see if it works


Title: Re: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: JoeMattie on July 23, 2013, 09:19:21 PM
First try went ok and received the loot immidietly, on the second try nothing happend  ???

transaction id?



bd7e68141d13ead097fddfa931b28bb47cd61808781e76684917a9b6b96bd571

Looks like you just picked an unlucky set of coordinates.

I decided not to send a "confirmation" payout like satoshidice does so as to keep blockchain dust to a minimum.

I will be implementing a lookup function very shortly however.

Thanks for playing!


Code:
[----> Bet received with 0 confirm!
[----> Processing incoming bet for: Lbd1BMbqK31VjCcdy3BCXfxZcSyMvxfB4a
   [===================> PROCESSING BET <=============================
   [ bet             id: 26
   [ bet      timestamp: 2013-07-23 20:53:22
   [ bet    received at: Lbd1BMbqK31VjCcdy3BCXfxZcSyMvxfB4a
   [ bet  received from: LTakMPcH8ezjoZnTXFqRYPd6qQRg392j7G
   [ bet          tx_id: bd7e68141d13ead097fddfa931b28bb47cd61808781e76684917a9b6b96bd571
   [ bet   amount (LTC): 1.01
   [ bet received (LTC): 1.01
   [ bet       validity: 1
   [ bet         coords: ***,***,***,***
   [------------------------------------------------------------------
          |--------------------------> begin <------------------------
          |      checking **** ... no loot found, bummer
          |      checking **** ... no loot found, bummer
          |      checking **** ... no loot found, bummer
          |      checking **** ... no loot found, bummer                    
          |~~~~~~~~~~~~~~~~~~~~~~~~~~~ done ~~~~~~~~~~~~~~~~~~~~~~~~~~
          |~~~~~~~~~~~~~~~~~ distributing bets to grid ~~~~~~~~~~~~~~~
          |      hiding: [ 0.5 LTC ] at [ *** ]
          |      hiding: [ 0.51 LTC ] at [ *** ]
          |======================= FINISHED ==========================


Title: Re: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: gg on July 24, 2013, 03:24:02 AM
bet 1 ltc
won 1.5

will i ever win a stuffed monkey?  ;D


Title: Re: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: JoeMattie on July 24, 2013, 04:10:43 AM
No stuffed monkeys, sorry!

I actually won two of those things back in 2001 or something. :)


Title: Re: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: JoeMattie on July 25, 2013, 05:46:56 AM
Update: corrected a bug where ajax calls to validate.php (the script that checks the validity of a submitted LTC address) were getting blocked by modsecurity2

Apparently some LTC addresses being evaluated by a RegEX query were coming back as likely to be part of an SQL injection attack. Lol

It's fixed now.  If the site wasn't behaving properly for anybody, it should work now.


Title: Re: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: GoldBit89 on July 25, 2013, 06:44:39 AM
sent you a pm. please contact me asap.
thanks


Title: Re: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: JoeMattie on July 25, 2013, 10:57:23 AM
OP updated to clarify betting / payout calculation methodology.


Title: Re: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: GoldBit89 on July 25, 2013, 11:45:25 AM
Great innovated game. keep up the good work :)


Title: Re: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: JoeMattie on July 25, 2013, 09:23:04 PM
Great innovated game. keep up the good work :)

Glad you're enjoying it.


Title: Re: [ANN] bit-loot.com - LTC hunting game, homage to treeloot.com NOW LIVE
Post by: JoeMattie on July 27, 2013, 11:43:29 PM
Update: added bet history page with txids linking to block-explorer.com