First game

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
simba
Newbie
Posts: 2
Joined: Fri Apr 22, 2005 10:55 am
Location: Manchester England

First game

Post by simba »

Hi, i hope somebody could help me with a few problems.

I'm writing a game a bit like Championship Manager(soccer manager game)
and i want to put the players in a database so that i can edit it.

the thing is i do not know how to do a database(can anybody point me to a tutorial or help me on here). I have no idea how to put the fields into QB

Also i'm trying to get the user to enter a a file name for the database, but as there will be no file when the database is first run, i was wondering how do i get the user to press the Return key and goto the next section of the game.

In a soccer game, at the start of a season the team you choose will have to play all the other teams twice(i put this in as i have tried another forum and they did not know what fixtures where) and i can not get QB to do this.

There will be 20 teams in the league, but in the future there will be more or less teams

Please help me as i have been trying this idea i have for a few years and would love to get it of the ground.

If you would like i will put the code i have done so far for the database.
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post by MystikShadows »

I would suggest reading my File Maniulation tutorials

http://www.ascii-world.com

Go to the Intermediate Techniques section (menu on the left and you'll see all 3 of my file tutors, sequential files, random access files and binary file tutorials). enjoy :-). If you have questions after, just let me know
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
User avatar
lurah-
Veteran
Posts: 206
Joined: Mon Nov 01, 2004 10:47 am
Location: Finland
Contact:

Post by lurah- »

Well, i raise my hat.

As a first game, this is something huge...hmm...20 teams, each has 20-25 players and each player has different kind of skills more than 10 + coach skill affects on em and tactics and...

Anyway, link Mystik gave to you is good. :wink:
Post Reply