Bitcoin Forum
December 11, 2016, 12:40:34 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin Potato - A half-finished website written in Play Framework (Java)  (Read 3317 times)
ripper234
Legendary
*
Offline Offline

Activity: 1260


Ron Gross


View Profile WWW
February 25, 2012, 04:34:59 AM
 #1

I'd like to share Bitcoin Potato.

It is an open source game of "Hot Potato" played using Bitcoin (FAQ, github).
Before yelling "Is this a scam", read the FAQ, please.

I programmed most of it a month-two ago, and wanted to just "finish out a few details" and launch it ... but never got the time.
Sadly, I don't think I'll have the time to complete this project (Unfortunately I have a tendency to create projects ... never to finish them).

Still, I think that it could help other people trying to code Bitcoin sites in Java, so this is why I'm releasing it in its unbaked state.

The project is based on
 - Startum, the Overlay Network, and contains a started-but-not-finished Java Stratum Client.
 - Play Framework, a Java/Scala web framework that's growing in popularity.

If this helps anyone at all, you will have made my day.

Cheers,
Ron

P.S.
Here is the announcement thread I posted to the Play Framework Google Group.

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
1481416834
Hero Member
*
Offline Offline

Posts: 1481416834

View Profile Personal Message (Offline)

Ignore
1481416834
Reply with quote  #2

1481416834
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481416834
Hero Member
*
Offline Offline

Posts: 1481416834

View Profile Personal Message (Offline)

Ignore
1481416834
Reply with quote  #2

1481416834
Report to moderator
1481416834
Hero Member
*
Offline Offline

Posts: 1481416834

View Profile Personal Message (Offline)

Ignore
1481416834
Reply with quote  #2

1481416834
Report to moderator
koin
Legendary
*
Offline Offline

Activity: 874


View Profile
February 25, 2012, 07:48:38 PM
 #2

so the sucker loses 100% and the site operator's profit is 1% of each wager plus 80% of the sucker's payment  [edit: that is incorrect.]?

in other words, this is a gambling option for those who are math challenged?
ripper234
Legendary
*
Offline Offline

Activity: 1260


Ron Gross


View Profile WWW
February 25, 2012, 08:48:43 PM
 #3

so the sucker loses 100% and the site operator's profit is 1% of each wager plus 80% of the sucker's payment?

in other words, this is a gambling option for those who are math challenged?

The last sucker loses 100%.
The site's operator's profit is 1% ... where did you get the 80% figure?

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
koin
Legendary
*
Offline Offline

Activity: 874


View Profile
February 26, 2012, 05:55:50 AM
 #4


The last sucker loses 100%.
The site's operator's profit is 1% ... where did you get the 80% figure?

sorry, was mistaken there. 

the profit is actually the first 1.0 + 1% of all wagers beginning with n=2.

here's an n=4 example.  in this example, there is about an 80% payout, with the operator getting a 20% profit.

player A bets 1.0
player B bets 1.2, and 1.188 goes to player A.
player C bets 1.44, and 1.4256 goes to player B.
player D bets 1.728 and 1.71072 goes to player C
player D is the sucker and gets nothing.

total taken in = 5.368, total paid out 4.32432, total profit to operator 1.04368
ripper234
Legendary
*
Offline Offline

Activity: 1260


Ron Gross


View Profile WWW
February 26, 2012, 07:27:57 AM
 #5


The last sucker loses 100%.
The site's operator's profit is 1% ... where did you get the 80% figure?

sorry, was mistaken there. 

the profit is actually the first 1.0 + 1% of all wagers beginning with n=2.

here's an n=4 example.  in this example, there is about an 80% payout, with the operator getting a 20% profit.

player A bets 1.0
player B bets 1.2, and 1.188 goes to player A.
player C bets 1.44, and 1.4256 goes to player B.
player D bets 1.728 and 1.71072 goes to player C
player D is the sucker and gets nothing.

total taken in = 5.368, total paid out 4.32432, total profit to operator 1.04368

Who says the first income is 1.0?

The minimal fee to participate is 0.01.

The operator fees aren't really that much, by my calculations.

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
koin
Legendary
*
Offline Offline

Activity: 874


View Profile
February 26, 2012, 03:22:45 PM
 #6

Who says the first income is 1.0?

The minimal fee to participate is 0.01.

oh, sorry -- took it from the faq which reads: "Let's say the current minimal fee is 1 BTC."

The operator fees aren't really that much, by my calculations.

1% seems fair, yes.
ripper234
Legendary
*
Offline Offline

Activity: 1260


Ron Gross


View Profile WWW
February 26, 2012, 03:28:59 PM
 #7

oh, sorry -- took it from the faq which reads: "Let's say the current minimal fee is 1 BTC."

I see. I wrote "(we're starting the game at 0.01 BTC)" somewhere in the FAQ, but I understand it's hidden ... and an easy mistake to make.

If I ever launch it, I'll reword the FAQ to be more clear that the starting fee is 0.01 BTC.

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
ineededausername
Hero Member
*****
Offline Offline

Activity: 784


bitcoin hundred-aire


View Profile
February 26, 2012, 03:36:10 PM
 #8

hmm

lol, I have a bad feeling about this site now that the Hmm happened

edit: This seems like it's exactly like Bitcoinduit Shocked

(BFL)^2 < 0
kiba
Legendary
*
Offline Offline

Activity: 980


View Profile
February 26, 2012, 03:37:37 PM
 #9

Hmm, why does it have to be a gambling site?

ripper234
Legendary
*
Offline Offline

Activity: 1260


Ron Gross


View Profile WWW
February 26, 2012, 07:48:55 PM
 #10

Hmm, why does it have to be a gambling site?

It doesn't have to be anything, and it's not a gamling site (well, depends on your definition of gambling).

I just wanted to get my hands dirty and write some simple Bitcoin code as a weekend project, nothing beyond that.

I haven't seen any other Bitcoin sites written in Java/Play, let alone open source. I think it's important having some open source code samples to encourage new initiative, in the various languages used for web development.

Please do not pm me, use ron@bitcoin.org.il instead
Mastercoin Executive Director
Co-founder of the Israeli Bitcoin Association
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!