Lotto Simulator (WIP)

Advanced game related topics
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Lotto Simulator (WIP)

Post by IceSoft »

I plan to make a 'Lottosimulator' (with the Chipmunk4PB wrapper)
Is this kind of 'real money' game also on other countries? If yes: How much balls will be select from how much balls
In germany it is called: 'Lotto': 6 aus 49 (means: 6 Balls will be select from 49 balls)
Image
Last edited by IceSoft on Mon Jan 10, 2011 8:26 am, edited 1 time in total.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
KJ67
Enthusiast
Enthusiast
Posts: 218
Joined: Fri Jun 26, 2009 3:51 pm
Location: Westernmost tip of Norway

Re: Lotto (WIP)

Post by KJ67 »

In Sweden it's 7 out of 35.
E.g. your (un)likelihood to win is 1:6724520.
The best preparation for tomorrow is doing your best today.
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: Lotto (WIP)

Post by DarkDragon »

KJ67 wrote:In Sweden it's 7 out of 35.
Huh?! The square root of 35 is 5.916 .. it must be a non-quadratical field. I think 36 is correct, not 35.
bye,
Daniel
User avatar
KJ67
Enthusiast
Enthusiast
Posts: 218
Joined: Fri Jun 26, 2009 3:51 pm
Location: Westernmost tip of Norway

Re: Lotto (WIP)

Post by KJ67 »

Why does it need to be square?

Image
The best preparation for tomorrow is doing your best today.
eesau
Enthusiast
Enthusiast
Posts: 589
Joined: Fri Apr 27, 2007 12:38 pm
Location: Finland

Re: Lotto (WIP)

Post by eesau »

In Finland it's 7 out of 39, so chance comes up to 1/15 380 937.
DarkDragon
Addict
Addict
Posts: 2344
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Re: Lotto (WIP)

Post by DarkDragon »

KJ67 wrote:Why does it need to be square?

Image
:shock: Well... too much paper unused :-P
bye,
Daniel
Jago
User
User
Posts: 11
Joined: Tue Sep 14, 2010 4:01 pm

Re: Lotto (WIP)

Post by Jago »

eesau wrote:In Finland it's 7 out of 39, so chance comes up to 1/15 380 937.
Plus three extra numbers, so it's 7+3 numbers.
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: Lotto (WIP)

Post by IceSoft »

Ok. Here are a first look. Selction is not implemented.
Cursor keys can change speed and rotation direction.
http://www.morty-productions.de/icesoft ... =lotto.zip
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
KJ67
Enthusiast
Enthusiast
Posts: 218
Joined: Fri Jun 26, 2009 3:51 pm
Location: Westernmost tip of Norway

Re: Lotto (WIP)

Post by KJ67 »

Physics seems nice, but the graphics is probably not scaled correct.
Image
The best preparation for tomorrow is doing your best today.
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: Lotto (WIP)

Post by IceSoft »

KJ67 wrote:Physics seems nice, but the graphics is probably not scaled correct.
Seems you have an older GraCard. I will have to check it before. Thanks for info.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Lotto (WIP)

Post by c4s »

I have the same result as KJ67 with a "Radeon 9800 Pro" (on XP).
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: Lotto (WIP)

Post by IceSoft »

c4s wrote:I have the same result as KJ67 with a "Radeon 9800 Pro" (on XP).
What I mean with older CraCard is: Your CraCard can only correct display textures with a size of 2^n. The balls are 32x32 which is shown correct on your CraCard. The other texture is 640x640 which can not be correct displayed.
I will change the size to 256x256.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: Lotto (WIP)

Post by IceSoft »

I uploaded a new version which should display the 'big' texture correct.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

Re: Lotto Simulator (WIP)

Post by Rings »

The balls are too lightweighted
while rolling and falling.
The shadows on the balls are wrong (nomal)
anyway, nice coding.
SPAMINATOR NR.1
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: Lotto Simulator (WIP)

Post by Rook Zimbabwe »

I thought they used ping pong balls for this/// very lightweight and bouncy!

Here in Texas there are several... My favorite is cash 5 which is 5 out of 54

Then there is the lottery which is 6 out of 84...
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Post Reply