11. unknown by ultrav33

Image
ultrav33
Posts: 34
Joined: Mon Sep 29, 2008 10:57 pm

Re: 11. unknown by ultrav33

Postby ultrav33 » Sun Oct 05, 2008 4:05 pm

its working good so far, ill post up a link so you can see how it is so far.

User avatar
Rudy
Caiman Moderator
Posts: 2704
Joined: Sat May 31, 2008 7:42 pm
Location: Belgium
Contact:

Re: 11. unknown by ultrav33

Postby Rudy » Sun Oct 05, 2008 4:09 pm

Great!!! Well done mate!! :pals:

ultrav33
Posts: 34
Joined: Mon Sep 29, 2008 10:57 pm

Re: 11. unknown by ultrav33

Postby ultrav33 » Sun Oct 05, 2008 4:17 pm

http://www.box.net/shared/d4f01vr3sd

ok here it is tell me what you think, it still has many glitches which i will fix later.

User avatar
Rudy
Caiman Moderator
Posts: 2704
Joined: Sat May 31, 2008 7:42 pm
Location: Belgium
Contact:

Re: 11. unknown by ultrav33

Postby Rudy » Sun Oct 05, 2008 4:32 pm

I have the impression the score per chip works fine, but the start bet is completely wrong.

When I start the game, I don't see any money. I should think I had eg. $100 to start with.
so by the start it should be:

Code: Select all

score:=100;


When I bet eg $60 then the score should be 100-60 => score $40
so it should be something as:

Code: Select all

rep = true
while rep {
system.betmoney = get_integer( "How much do you want to bet?", 0 )
if system.betmoney < 1 {
show_message( "Bid at least something!" ) }
if system.betmoney > score {
show_message( "You don't own that much money." ) }
else {
rep = false } }

score-=system.betmoney;


When playing it has to grows 40..45..etc.. (and that part works okay)

ultrav33
Posts: 34
Joined: Mon Sep 29, 2008 10:57 pm

Re: 11. unknown by ultrav33

Postby ultrav33 » Sun Oct 05, 2008 4:45 pm

ok, im going to fix that up now.

ultrav33
Posts: 34
Joined: Mon Sep 29, 2008 10:57 pm

Re: 11. unknown by ultrav33

Postby ultrav33 » Sun Oct 05, 2008 5:04 pm

the new script you gave is not working because when i use it, i bet 40, and instead of subtracting by 40 it goes down to -40. i dont know what im doing wrong, because i am trying many wayt to fix it.

User avatar
Rudy
Caiman Moderator
Posts: 2704
Joined: Sat May 31, 2008 7:42 pm
Location: Belgium
Contact:

Re: 11. unknown by ultrav33

Postby Rudy » Sun Oct 05, 2008 5:08 pm

In fact that is good as well. You start with no money, bet $40 and it's -40
But of course then you have to say it's game over by eg. -$100 instead of 0
Do you think you can do that?

ultrav33
Posts: 34
Joined: Mon Sep 29, 2008 10:57 pm

Re: 11. unknown by ultrav33

Postby ultrav33 » Sun Oct 05, 2008 5:17 pm

i can do that.

User avatar
Rudy
Caiman Moderator
Posts: 2704
Joined: Sat May 31, 2008 7:42 pm
Location: Belgium
Contact:

Re: 11. unknown by ultrav33

Postby Rudy » Sun Oct 05, 2008 5:20 pm

great :pals: :ooh: :ooh:

ultrav33
Posts: 34
Joined: Mon Sep 29, 2008 10:57 pm

Re: 11. unknown by ultrav33

Postby ultrav33 » Sun Oct 05, 2008 5:28 pm

it can work, but what i someone bets more then 100?


Return to “Casino Games Contest”

Who is online

Users browsing this forum: No registered users and 4 guests