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 / a question about basic programming

Author
Message
Calliah
21
Years of Service
User Offline
Joined: 14th Oct 2003
Location:
Posted: 4th Nov 2003 01:21
Hi,
I purchased Dark Basic with The Beginners Guide to DarkBasic programming. So far, I've studied up to the 7th chapter, but i need a small project to reinforce what i've just learned. If there is anyone out there who could suggest something, and be willing to help with it if i have any problems, that would be great. If it helps, here are the subjects i've covered so far.
Commands and subjects i've learned so far.
PRINT
REM
WAIT KEY
SLEEP
CLS
INPUT
REMSTART...REMEND
END
Variable; Variable#; Variable$
DIM GlobalVariable()
GET DATE$()
GET TIME$()
EXECUTE FILE
adding strings
ASC()
VAL()
CHR$()
LEN()
MID$()
RIGHT$()
LEFT$()
STR$()
TEXT Var, Var, Str
CENTER TEXT Var, Var, Str
SET CURSOR
SET TEXT FONT = ""
SET TEXT SIZE #
Var = TEXT FONT$()
Var = TEXT SIZE()
Var = TEXT WIDTH()
Var = TEXT HEIGHT()
INK RGB(#,#,#), RGB(#,#,#)
SYNC
SET TEXT TO NORMAL - 0
SET TEXT TO BOLD - 1
SET TEXT TO ITALIC - 2
SET TEXT TO BOLDITALIC -3
Var = TEXT STYLE()
SET TEXT OPAQUE
SET TEXT TRANSPARENT
Var = TEXT BACKGROUND TYPE
FOR...NEXT
DO...LOOP
REPEAT...UNTIL
WHILE...ENDWHILE
EXIT
STEP
ARRAYS
IF...THEN
IF...ELSE...ENDIF
FUNCTION(parameter)...ENDFUNCTION(return value)
RANDOMIZE TIMER

I also just finished studying DATA and RESTORE.
Thanks again in advance.
Calliah
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 4th Nov 2003 15:56
Come up with an interesting way to display or position text on the screen. Perhaps have a short phrase chase the mouse around.
Or, since you know DATA now, you can actually make a simple pacman like game.
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 4th Nov 2003 17:33
yeah, you could do that, or, since you know how to use funcions, you could make a text adventure.....you have alot of text commands there....

Bishop

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
Calliah
21
Years of Service
User Offline
Joined: 14th Oct 2003
Location:
Posted: 5th Nov 2003 01:28
Thanks for the ideas. I'm partial to the text adventure one, as i was basically raised on them . I'll post some code when i've come up with some. If you have any ideas to help get me started (code wise....i have plenty as far as story goes) that'd be great to.
Thanks,
Calliah
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 5th Nov 2003 02:11
if you have plenty as far as story goes, and you have plenty as far as experience goes-according to your post, then just GO! make a simple game-whatever it is it doesn't matter! go for it! only way to learn and grow-attempt the code. You don't need anyone here to tell you what to make - do it! Then ask for help on a specific problem.

sorry, not trying to be harsh but you sound silly - GO FOR IT!!

-RUST-
Black Hydra
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location:
Posted: 5th Nov 2003 02:38
One example would be to make a Blackjack program.

You could use the ink commands to make the cards and all the loops to work it nicely.

Login to post a reply

Server time is: 2024-11-25 16:26:03
Your offset time is: 2024-11-25 16:26:03