|Welcome to the Monastery|
Re: Daft text adventure projectby pmas (Hermit)
|on May 30, 2001 at 18:50 UTC||Need Help??|
I like your project - and your courage.
You already noticed that you have a lot of data, right?
Now, you may consider to place your data into some database. MS Access will be my first choice, but it depends on platform you prefer. There are many free open-source SQL databases around.
What new possibilities will it open for you?
(1) You'll learn databases, SQL - and learning is you primary goal. right?
(2) No limits for data. 50,000 rooms? No problem any more.
(3) Design of tables should not be an issue: you already have data structures to store rooms, creatures and objects. Instead of hash you'll store them in database.
Added bonus: database (as MS Access) will provide for you user-friendly interface to review/filter/update your data, to program behavior of creatures and objects.
(4) You are opening doors into multiplayer game later. You can have one engine (Universe), and many clients may access it. Even more exciting, you can write program to play using Artifical Intelligence (AI) to play instead of you. And then have tournaments of AI players.
What a Ultimate Laziness: to create program to play instead of you!
Update: I can imagine how much of you, fellow monks, frowned when I proposed to use MS Access as database of choice. No so fast. I assumed Tiefling does not have experience with databases (otherwise he will used DB right away when run out of data space). MS Access is excellent for prototyping in Windows environment and has excellent 'wizards' to help with building SQL queries graphically and to visualize tables and their relationships.