Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Lottery data last problem ?

Author
Message
zencreator03
21
Years of Service
User Offline
Joined: 11th Jul 2003
Location:
Posted: 30th Jul 2003 18:57
check the code and then read on, In the subroutine check, it only checks to see if all the numbers are correct, i would like to know how to get each individual player number checked with each computer number, and perhaps if 1 number is correct with one of the comp numbers then money=money+1 or if all are wrong money=money-1, the check system cannot work at the moment because it is almost impossible to guess all 5 numbers in the right order first time, thanx !
Ocean Runner
21
Years of Service
User Offline
Joined: 18th May 2003
Location: United States
Posted: 31st Jul 2003 06:15 Edited at: 31st Jul 2003 06:15
do this:
zencreator03
21
Years of Service
User Offline
Joined: 11th Jul 2003
Location:
Posted: 31st Jul 2003 20:07
It works but it appears to be doing exactly the same as always, because check2 and check1 perform exactly the same jobs i believe, it only adds money if u get your number right at exactly the same line as the computer number, i would like it to compare each individual game number and reward you based on how many numbers you get right. Could someone please help me to do this ? Thankyou in advance.

zencreator03
21
Years of Service
User Offline
Joined: 11th Jul 2003
Location:
Posted: 31st Jul 2003 20:18
Also how do i restart the game when the return key is pressed but make the game remember how much money you have ?Thanx

Ocean Runner
21
Years of Service
User Offline
Joined: 18th May 2003
Location: United States
Posted: 1st Aug 2003 06:24 Edited at: 1st Aug 2003 08:05
Here I've checked this code, it should work:


"Computers in the future may weigh no more then
1.5 tons.
- Popular Mechanics, 1949

Login to post a reply

Server time is: 2024-11-25 01:57:27
Your offset time is: 2024-11-25 01:57:27