Text Adventures

This is a discussion on Text Adventures within the C Programming forums, part of the General Programming Boards category; I'm intrested in writing a text adventure in C. I can't find any simple guides out there. I looked pretty ...

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    13

    Text Adventures

    I'm intrested in writing a text adventure in C. I can't find any simple guides out there. I looked pretty long. I'm no intrested in using something like TADS or any other "Text Adventure" programmign toolkit. I want to write something from scratch in C.

    I was wondering if someone could point me to a toturial or give me some basic steps on what functions to write for a text adventure game.

    Thanks!
    #define punkCow

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Basic commands are printf() and fgets()

    Things I suggest looking into:
    -structures
    -typedef
    -how to pass data via a pointer

    There are more but I can't think of them right now

    Righting a single user text adventure isn't extremely difficult just time consuming. There is no need for any special libraries or whatnot.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A bunch of Linker Errors...
    By Junior89 in forum Windows Programming
    Replies: 4
    Last Post: 01-06-2006, 01:59 PM
  2. struct question
    By caduardo21 in forum Windows Programming
    Replies: 5
    Last Post: 01-31-2005, 03:49 PM
  3. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  4. Ok, Structs, I need help I am not familiar with them
    By incognito in forum C++ Programming
    Replies: 7
    Last Post: 06-29-2002, 09:45 PM
  5. Outputting String arrays in windows
    By Xterria in forum Game Programming
    Replies: 11
    Last Post: 11-13-2001, 06:35 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21