|
-
May 9th, 2002, 08:56 AM
#1
Thread Starter
New Member
Text Based Racing Sim
I am developing a text-based Racing simulation. I developed the game on an excel spreadsheet and
am now in the process of porting it to VB. My question is what kind of data structure should I use
for my driver data(ratings,car# etc.)? I have about 50 drivers and hope to eventually produce random
drivers as the simulated seasons progress. Should I use arrays & strings, a database or access an OLE
(excel spreadsheet) . Also if using a database what grid would you suggest to show data; DB Grid, MSflexGrid etc.?
thanks
Tigerjones
-
May 9th, 2002, 06:12 PM
#2
Fanatic Member
Dont really understand what you want to do, but you could have a Array with a structure type, ex:
VB Code:
private type DriverType
sName as string
iAge as integer
iDifficulty as integer
end type
Dim Drivers(10) as DriverType
-
May 9th, 2002, 08:25 PM
#3
Frenzied Member
what petrus posted is probably the best way to go but what is a text based racing sim??? isn't racing about speed?
sounds kind of interesting... I have never head of anything like that!!
Sanity is a full time job
Puh das war harter Stoff!
-
May 10th, 2002, 07:28 AM
#4
Thread Starter
New Member
thanks for the help. Basically the "textbased Racing sim" is a statistical simulation of nascar racing. Each driver has a driver rating and a track rating and after on every command click the race progresses one lap. On each lap a random # is produced for each driver and points are rewarded or subtracted based on his rating. This improves or hurts his overall position. This is done until all the laps have been run. I have a list of other features planned but thats the basic plan I have and how I worked it out on my speadsheet. If anybody has any suggestions I 'd be glad to hear them
TigerJones
-
Dec 18th, 2015, 07:45 AM
#5
New Member
Re: Text Based Racing Sim
I realize I'm digging up a long ago buried thread, but I'm very curious. Did you ever finish this project? Would you share it?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|