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.

DarkBASIC Discussion / Simple Trivia

Author
Message
Lil mean man
21
Years of Service
User Offline
Joined: 15th May 2004
Location: WY
Posted: 15th May 2004 20:13
Hello i am brand-new to DB and want to make a simple text-input trivia, me and my freind sky have tried... but it's always buggy.

I know this is a stupid question, but could someone give me working code for atleast 2 questions.

Learning DB
comando 300
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location:
Posted: 15th May 2004 20:31 Edited at: 15th May 2004 20:33
start:
input "Who is the father of Bart Simpson?";answer$
if answer$="homer" then print "Correct!":wait 2000 else print "Wrong!":wait 2000
cls
input "Who's the school principal?";answer$
if answer$="skinner" then print "correct!" :wait 2000 else print "Wrong!":wait 2000
cls
goto start

CURRENT PROJECT: RETRO PAC-MAN

Login to post a reply

Server time is: 2025-05-23 19:22:05
Your offset time is: 2025-05-23 19:22:05