Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUIZ GAME WITH SCORE
#1
Im doing a simple quiz game containging the capitals of the world. And Im trying to add score to it so you will get one score for every right.

1.The problem is when you answer right the first time and goes to the second and answer right again the counter resets I have tried a lot of things but cannot come up with any good soulution. Here is the code so you can see and help me better.

2. Another question to how do I do if the user inputs Kabul or KABUL. I have tried to input LCASE$ and those things but I dont get it to work and I dont think it does eiter.
----------------------------------------------------
afghanistan:
INPUT "Afghanistan: ", city$
IF city$ = "kabul" then
goto albania
else
goto afgwrong
end if

afgwrong:
print "Wrong!"
goto albania

INPUT "Albania: ", city$
IF city$ = "tirana" then
goto sweden
else
goto albwrong
end if

albwrong:
print "Wrong!"
goto sweden

'AND SO ON.....................................................

And I'm sure there is an easier way to do this, if you know which you probably do plz write it down :wink:
Reply


Messages In This Thread
QUIZ GAME WITH SCORE - by tabnewflax - 03-15-2004, 01:26 AM
QUIZ GAME WITH SCORE - by Zack - 03-15-2004, 01:49 AM
QUIZ GAME WITH SCORE - by Mango - 03-15-2004, 03:04 AM
QUIZ GAME WITH SCORE - by tabnewflax - 03-15-2004, 02:04 PM
QUIZ GAME WITH SCORE - by Zack - 03-15-2004, 07:47 PM
QUIZ GAME WITH SCORE - by na_th_an - 03-15-2004, 08:08 PM
QUIZ GAME WITH SCORE - by Agamemnus - 03-15-2004, 08:49 PM
QUIZ GAME WITH SCORE - by Zack - 03-15-2004, 09:23 PM
QUIZ GAME WITH SCORE - by tabnewflax - 03-15-2004, 11:07 PM
QUIZ GAME WITH SCORE - by R@dioman - 03-15-2004, 11:12 PM
QUIZ GAME WITH SCORE - by Zack - 03-15-2004, 11:14 PM
QUIZ GAME WITH SCORE - by na_th_an - 03-15-2004, 11:57 PM
QUIZ GAME WITH SCORE - by Z!re - 03-16-2004, 12:08 AM
QUIZ GAME WITH SCORE - by Zack - 03-16-2004, 01:04 AM
QUIZ GAME WITH SCORE - by Agamemnus - 03-16-2004, 05:30 AM
QUIZ GAME WITH SCORE - by tabnewflax - 03-16-2004, 01:56 PM
QUIZ GAME WITH SCORE - by R@dioman - 03-16-2004, 07:52 PM
QUIZ GAME WITH SCORE - by Zack - 03-16-2004, 08:19 PM
QUIZ GAME WITH SCORE - by R@dioman - 03-16-2004, 11:46 PM
QUIZ GAME WITH SCORE - by Zack - 03-17-2004, 12:53 AM
QUIZ GAME WITH SCORE - by R@dioman - 03-17-2004, 01:05 AM
QUIZ GAME WITH SCORE - by Zack - 03-17-2004, 01:20 AM
simple - by peace - 03-17-2004, 02:36 AM
QUIZ GAME WITH SCORE - by R@dioman - 03-17-2004, 02:46 AM
QUIZ GAME WITH SCORE - by Zack - 03-17-2004, 03:01 AM
QUIZ GAME WITH SCORE - by tabnewflax - 03-18-2004, 01:14 AM
QUIZ GAME WITH SCORE - by Zack - 03-18-2004, 01:24 AM
QUIZ GAME WITH SCORE - by tabnewflax - 03-19-2004, 03:45 PM
QUIZ GAME WITH SCORE - by adosorken - 03-19-2004, 05:31 PM
QUIZ GAME WITH SCORE - by whitetiger0990 - 03-19-2004, 06:56 PM
QUIZ GAME WITH SCORE - by tabnewflax - 03-19-2004, 07:25 PM
QUIZ GAME WITH SCORE - by whitetiger0990 - 03-19-2004, 07:36 PM
QUIZ GAME WITH SCORE - by Agamemnus - 03-20-2004, 12:00 AM
QUIZ GAME WITH SCORE - by adosorken - 03-22-2004, 06:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)