Bitcoin Forum
July 29, 2017, 11:47:44 AM *
News: BIP91 seems stable: there's probably only slightly increased risk of confirmations disappearing. You should still prepare for Aug 1.
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 3 4 5 6  All
  Print  
Author Topic: [Development]SatoshiRat - a bitcoin game  (Read 11572 times)
yellowdog
Member
**
Offline Offline

Activity: 116


View Profile WWW
August 28, 2013, 03:14:12 PM
 #1

Hello everybody,


The more i dig into bitcoin and related crypto currencies the more i realize this is the future of humankind.
I'd like to be a part of this fascinating movement and help spread it and make this world a better place.

I started playing with blockchain API because that was the fastest way to learn about transactions and how bitcoin works in general.

I programmed a game and called it SatoshiRat, inspired from a game from my childhood.
No login required, your address becomes your rat.

You can access it at http://satoshirat.com

Story
You are in a prison and together with your fellow inmates have thought to catch some rats and train them to run in races.
Each time your rat runs in a race, it will get some exp and gain levels. Higher the level, higher the speed and more races it will win.
The rat is actually your bitcoin address you use to enter the race.

How it works
You must use a bitcoin address that you can receive back the payments. You have to send BTC0.01 to take part in a race. After 5 rats gathers, the race begins. All BTC0.05 gathered in the pot are then split accordingly to the place your rat finishes the race. I don't keep anything all winnings goes back to your rat.
After each race your rat gains some exp, tires a bit and gets some damage. You have to wait some time to heal and rest before taking place in a new race.
If you do not want to wait(and if you appreciate my work and help me develop further, maybe even litecoin functionality) you can add a bribe of BTC0.001 to your payment.

Your rat also gains a new level when enough exp accumulates, gains +1 speed per level so it will have a better chance to outrun the other rats.


For more details please visit the game's website satoshirat.com

I will use this topic for all communication with the community. Please report here all bugs, advices, suggestions and other problems.

Thank you and enjoy!

SatoshiCarnival.co ♢ Refreshing ♥ Fair ♧ Bitcoin Casino ⚂
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
SatoshiRat.com - inmates betting on rat races
1501328864
Hero Member
*
Offline Offline

Posts: 1501328864

View Profile Personal Message (Offline)

Ignore
1501328864
Reply with quote  #2

1501328864
Report to moderator
1501328864
Hero Member
*
Offline Offline

Posts: 1501328864

View Profile Personal Message (Offline)

Ignore
1501328864
Reply with quote  #2

1501328864
Report to moderator
1501328864
Hero Member
*
Offline Offline

Posts: 1501328864

View Profile Personal Message (Offline)

Ignore
1501328864
Reply with quote  #2

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

Posts: 1501328864

View Profile Personal Message (Offline)

Ignore
1501328864
Reply with quote  #2

1501328864
Report to moderator
1501328864
Hero Member
*
Offline Offline

Posts: 1501328864

View Profile Personal Message (Offline)

Ignore
1501328864
Reply with quote  #2

1501328864
Report to moderator
1501328864
Hero Member
*
Offline Offline

Posts: 1501328864

View Profile Personal Message (Offline)

Ignore
1501328864
Reply with quote  #2

1501328864
Report to moderator
001sonkit
Hero Member
*****
Offline Offline

Activity: 784


Casper - A failed entrepenuer who looks like Zhou


View Profile WWW
August 28, 2013, 07:50:51 PM
 #2

I suggest you also posting to gambling section for more people to dump coins in it
Perhaps you should consider the confirmations.0 Conf is dangerous

yellowdog
Member
**
Offline Offline

Activity: 116


View Profile WWW
August 28, 2013, 08:51:50 PM
 #3

Perhaps you should consider the confirmations.0 Conf is dangerous

I have done that.
I acknowledge the pay at 0 confirmations but you are set up for games only at 1 confirmation or more.

SatoshiCarnival.co ♢ Refreshing ♥ Fair ♧ Bitcoin Casino ⚂
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
SatoshiRat.com - inmates betting on rat races
yellowdog
Member
**
Offline Offline

Activity: 116


View Profile WWW
August 28, 2013, 11:26:22 PM
 #4

I noticed a bug, if 2 games takes place in the same time, they are displayed in the reverse order.

This is only a display bug, i will fix this tomorrow when i will be more awake.

SatoshiCarnival.co ♢ Refreshing ♥ Fair ♧ Bitcoin Casino ⚂
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
SatoshiRat.com - inmates betting on rat races
Spekulatius
Legendary
*
Offline Offline

Activity: 1022



View Profile
August 29, 2013, 03:44:10 AM
 #5

How and when do you pay out?
001sonkit
Hero Member
*****
Offline Offline

Activity: 784


Casper - A failed entrepenuer who looks like Zhou


View Profile WWW
August 29, 2013, 03:53:33 AM
 #6

a few games went on and still not getting paid
please check 1CasperDEhyGD81WNPo9qkaFnWxUSWmrqk


I see there is a min pay of 0.01

yellowdog
Member
**
Offline Offline

Activity: 116


View Profile WWW
August 29, 2013, 06:21:42 AM
 #7

How and when do you pay out?

If you go to your rat and keep your mouse over Unpaid, you'll see a popup with some explanation.

In short, you automatically get paid after each game if your winnings are greater than 0.0102.

I do this because i could not figure out how fees work. I know in theory and i read the original work of Satoshi Nakamoto, but i am using the blockchain api for this, and could not find how do i compute in advance the necessary fee so that the payment will not get suspended in the air for a long time.

So i decided to always pay a minimum of 0.0005 in fees for all outgoing payments. Because the game survives only if the people are kind enough to throw a 0.001 bribe i was afraid the fees will be to great for me, and that's why for each of your payment you'll get with 0.0002 less as collateral for the fees.

For you 0.0002 is negligible but for the game a 0.0005 for each transfer adds up.

SatoshiCarnival.co ♢ Refreshing ♥ Fair ♧ Bitcoin Casino ⚂
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
SatoshiRat.com - inmates betting on rat races
Mitchell
Moderator
Legendary
*
Offline Offline

Activity: 1512


Verified awesomeness ✔


View Profile WWW
August 29, 2013, 06:25:58 AM
 #8

How and when do you pay out?

If you go to your rat and keep your mouse over Unpaid, you'll see a popup with some explanation.

In short, you automatically get paid after each game if your winnings are greater than 0.0102.

I do this because i could not figure out how fees work. I know in theory and i read the original work of Satoshi Nakamoto, but i am using the blockchain api for this, and could not find how do i compute in advance the necessary fee so that the payment will not get suspended in the air for a long time.

So i decided to always pay a minimum of 0.0005 in fees for all outgoing payments. Because the game survives only if the people are kind enough to throw a 0.001 bribe i was afraid the fees will be to great for me, and that's why for each of your payment you'll get with 0.0002 less as collateral for the fees.

For you 0.0002 is negligible but for the game a 0.0005 for each transfer adds up.
That sounds very logical and acceptable!

yellowdog
Member
**
Offline Offline

Activity: 116


View Profile WWW
August 29, 2013, 07:29:35 AM
 #9

I noticed a bug, if 2 games takes place in the same time, they are displayed in the reverse order.

This is only a display bug, i will fix this tomorrow when i will be more awake.

Fixed it

SatoshiCarnival.co ♢ Refreshing ♥ Fair ♧ Bitcoin Casino ⚂
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
SatoshiRat.com - inmates betting on rat races
Mitchell
Moderator
Legendary
*
Offline Offline

Activity: 1512


Verified awesomeness ✔


View Profile WWW
August 29, 2013, 07:33:28 AM
 #10

I send 0.11BTC, 10 games and 10 bribes, but I guess that doesn't work, right?

yellowdog
Member
**
Offline Offline

Activity: 116


View Profile WWW
August 29, 2013, 07:40:29 AM
 #11

I send 0.11BTC, 10 games and 10 bribes, but I guess that doesn't work, right?

You just payed for 11 games. You had to send 0.109 to pay for 10 games and 10 bribes.
or 0.119 to pay for 11 games and 11 bribes.
0.009 is a special bribe - you get max(nr of games submitted, 9)

What you can do right now is to send another 0.019 and you'll pay for 1 game and 9 bribes.

SatoshiCarnival.co ♢ Refreshing ♥ Fair ♧ Bitcoin Casino ⚂
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
SatoshiRat.com - inmates betting on rat races
Mitchell
Moderator
Legendary
*
Offline Offline

Activity: 1512


Verified awesomeness ✔


View Profile WWW
August 29, 2013, 07:42:05 AM
 #12

I send 0.11BTC, 10 games and 10 bribes, but I guess that doesn't work, right?

You just payed for 11 games. You had to send 0.109 to pay for 10 games and 10 bribes.
or 0.119 to pay for 11 games and 11 bribes.
0.009 is a special bribe - you get max(nr of games submitted, 9)

What you can do right now is to send another 0.019 and you'll pay for 1 game and 9 bribes.
Dangit. Thanks for the info!

Mitchell
Moderator
Legendary
*
Offline Offline

Activity: 1512


Verified awesomeness ✔


View Profile WWW
August 29, 2013, 08:02:35 AM
 #13

I send 0.015 and had 9 pending games. I received it when I got 7 pending games, but I only received 2 bribes...
32093095ed7b1210fba6934d46f9391b6053492e6ab969673dd95660ccdf0e1e

yellowdog
Member
**
Offline Offline

Activity: 116


View Profile WWW
August 29, 2013, 08:11:09 AM
 #14

I send 0.015 and had 9 pending games. I received it when I got 7 pending games, but I only received 2 bribes...
32093095ed7b1210fba6934d46f9391b6053492e6ab969673dd95660ccdf0e1e

I checked you received 5 bribes but games #23 #24 #25 all took place in the same time and you used 3 bribes in them. Right now you still have 2.

SatoshiCarnival.co ♢ Refreshing ♥ Fair ♧ Bitcoin Casino ⚂
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
SatoshiRat.com - inmates betting on rat races
Mitchell
Moderator
Legendary
*
Offline Offline

Activity: 1512


Verified awesomeness ✔


View Profile WWW
August 29, 2013, 08:12:20 AM
 #15

I send 0.015 and had 9 pending games. I received it when I got 7 pending games, but I only received 2 bribes...
32093095ed7b1210fba6934d46f9391b6053492e6ab969673dd95660ccdf0e1e

I checked you received 5 bribes but games #23 #24 #25 all took place in the same time and you used 3 bribes in them. Right now you still have 2.
Oh, that's why. Thanks for clearing that up! Well, I still love your game. Cheesy

fildza
Sr. Member
****
Offline Offline

Activity: 322


Ask me anything if you have any problem


View Profile WWW
August 29, 2013, 09:03:45 AM
 #16

When we play with other different level people the chances to win very low. Hurm

█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
▓▓▓▓▓  BIT-X.comvvvvvvvvvvvvvvi
→ CREATE ACCOUNT 
▓▓▓▓▓
█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
Mitchell
Moderator
Legendary
*
Offline Offline

Activity: 1512


Verified awesomeness ✔


View Profile WWW
August 29, 2013, 09:05:46 AM
 #17

When we play with other different level people the chances to win very low. Hurm
This isn't true, not for 100%:

Always lower level players are associated in a race first. If in the game queue there are 7 rats, 5 low level, 2 high level, the first game will be with the 5 low level rats, leaving the other 2 waiting in the game queue.

If another 5 new players come, again they will be associated first leaving the other 2 behind.

At a new level you gain +1 speed. So a battle between a level 1 rat and a level 2 will be a battle between rand(10,31) and rand(10,32), a little edge in my opinion.

Also i am considering, when players do get to some high levels, to not associate races if the level difference is to much. A level 9 rat cannot go in a race with a level 1, but only to let say level 5-13.

It is true, high level will have a small advantage over low level, but i am trying to minimize as much as i can this advantage, and permit new players catch up in leveling.

yellowdog
Member
**
Offline Offline

Activity: 116


View Profile WWW
August 29, 2013, 09:13:56 AM
 #18

In order to ensure transparency i have added on the top of the page near HOME tab List all games.
Here all games played are listed and you can click on them and check them.


I'll do the same for rats also.

SatoshiCarnival.co ♢ Refreshing ♥ Fair ♧ Bitcoin Casino ⚂
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
SatoshiRat.com - inmates betting on rat races
Mitchell
Moderator
Legendary
*
Offline Offline

Activity: 1512


Verified awesomeness ✔


View Profile WWW
August 29, 2013, 11:10:24 AM
 #19

In order to ensure transparency i have added on the top of the page near HOME tab List all games.
Here all games played are listed and you can click on them and check them.


I'll do the same for rats also.
Also, change the way the played games are shown. The more games I play, the further "Last Race" get's pushed to the right. That is a bit annoying Tongue
You could try to use a dropdown box or something like that.

yellowdog
Member
**
Offline Offline

Activity: 116


View Profile WWW
August 29, 2013, 11:42:17 AM
 #20

Also, change the way the played games are shown. The more games I play, the further "Last Race" get's pushed to the right. That is a bit annoying Tongue
You could try to use a dropdown box or something like that.

Solved the problem for the moment.

SatoshiCarnival.co ♢ Refreshing ♥ Fair ♧ Bitcoin Casino ⚂
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
SatoshiRat.com - inmates betting on rat races
Pages: [1] 2 3 4 5 6  All
  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!