Thread: Noob in need of direction

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    6

    Noob in need of direction

    I hope don't make everyone go all ape........ and flame me, cause I know no one likes it when someone says, "I have an idea for a mod, all I need is someone to do it!", but I would like help.

    If I wanna make a game that will, lets say, have an ascII interface that will look like just a bunch of boxes (like a giant tic tac toe board), and have some sort of turn based strategy, what things(knowledge of programming) would I need?

    I know a lot of simple C++, so I have the vehicles to implement any new tools that I am given, but I am lacking in these simple areas, or never learned them: arrays, classes, funtions, bit assignment(huh?), and some other things that I should know easily, but don't, cause I'm kind of self taught, and lazy...which isn't ad good combo.

    Any help is greatly appreciated.

  2. #2
    Registered User mrafcho001's Avatar
    Join Date
    Jan 2005
    Posts
    483
    arrays, functions and classes are a must in C++

  3. #3
    Registered User
    Join Date
    May 2005
    Posts
    6
    Yes I know, and I've been trying to catch up with those, while trying to catch up with school. But I'm working on it. Anything else I should learn, though, and where/how to apply it to a game like this?

  4. #4
    He's trying.
    Join Date
    Apr 2005
    Location
    Missouri, US
    Posts
    70
    I thought about doing this myself, but there's a whole lot of complexity involved. The thing that made me decide to wait before I made it was the fact that the player presumably must have an intelligent opponent, and I don't think I'm up to coding an AI like that yet.

    If you've thought of that:
    Knowing how to use classes and functions proficiently is a MUST.
    Also, becoming familiar with vectors and other containers in the STL library will be very important. They're basically necessary for making a 2d grid for your characters to fight on...

    A 2d vector looks like this, by the way:
    vector <vector <int> > my2dgrid;

    It can get very complicated very fast!
    Last edited by Nazca; 05-25-2005 at 09:23 PM.

  5. #5
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    So pick up a book and dive into those parts of the C++ language. It's really not that difficult once you get started.

    Classes and objects will change the way you look at code and the way you approach problem solving in code.

  6. #6
    Registered User
    Join Date
    May 2005
    Posts
    6
    ALright thansk a bunch...by the way...what does that vector command do, and does it like create a variable that I can just cout?

    EDIT:

    also just a quick question:

    If i wanna have a graph of a like for an ascii tic tac toe, just a lot bigger, is there any other option that's quicker than this:
    board[1][1] = e; board[2][1] = e; board[3][1] = e;...(etc.)
    ?
    Last edited by Idit; 05-25-2005 at 09:55 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Some Direction Needed
    By Bidamin in forum C++ Programming
    Replies: 3
    Last Post: 04-22-2009, 10:15 AM
  2. Mouse Maze Problem
    By Furbiesandbeans in forum C++ Programming
    Replies: 13
    Last Post: 04-28-2008, 04:20 PM
  3. noob needs help!!!!:(
    By tykenfitz in forum C Programming
    Replies: 1
    Last Post: 07-10-2005, 08:49 AM
  4. Algorithm to walk through a maze.
    By Nutshell in forum C Programming
    Replies: 30
    Last Post: 01-21-2002, 01:54 AM
  5. Classic problem doesn't accept direction
    By cheesehead in forum C++ Programming
    Replies: 5
    Last Post: 11-13-2001, 06:32 PM