Results 1 to 2 of 2

Thread: Interactive Fiction project in VB.NET

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2025
    Posts
    1

    Interactive Fiction project in VB.NET

    Hello there,

    Having been wanting to learn about VB.NET I decided to code a project to help me learn. The project is a Interactive Fiction game, formally known as text adventures, in which the player enters commands, such as north, take lamp or i (shows objects that are held).

    I have included the source code in an attachment, without the executable compiled file. The program needs four .xml files to run, which are in the folder containing the code. I have coded a path that compiles and runs for these four files, in the file program.vb . There is a solution file which works ok on my version of Visual Studio. It may be necessary to modify program.vb to put in the correct paths to the .xml files so that they can load.

    Features of the code are the use of .xml files to hold data, LINQ to query the xml files, and a simple version of the singleton design pattern. I have not coded any error handling.

    Any comments welcome
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width