Author

Topic: Bitcoin Potato - A half-finished website written in Play Framework (Java) (Read 3574 times)

legendary
Activity: 1358
Merit: 1003
Ron Gross
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.
legendary
Activity: 980
Merit: 1020
Hmm, why does it have to be a gambling site?
hero member
Activity: 784
Merit: 1000
bitcoin hundred-aire
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
legendary
Activity: 1358
Merit: 1003
Ron Gross
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.
legendary
Activity: 873
Merit: 1000
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.
legendary
Activity: 1358
Merit: 1003
Ron Gross

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.
legendary
Activity: 873
Merit: 1000

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
legendary
Activity: 1358
Merit: 1003
Ron Gross
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?
legendary
Activity: 873
Merit: 1000
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?
legendary
Activity: 1358
Merit: 1003
Ron Gross
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.
Jump to: