Thread: My first game in awhile!

  1. #16
    C/C++ homeyg's Avatar
    Join Date
    Nov 2004
    Location
    Louisiana, USA
    Posts
    209
    Okay, I fixed bug #1 with the eaten spy run.

    I'm just going to post the code, because it seems you are getting alot of bugs that I can't recreate.

    Actually hold on for the code because I found a whole new species of bugs with the error checking for the nukes.
    Last edited by homeyg; 04-07-2005 at 05:01 PM.

  2. #17
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735
    I'm just going to post the code, because it seems you are getting alot of bugs that I can't recreate.
    Interesting...All of these bugs I check multiple times and they always occur

  3. #18
    C/C++ homeyg's Avatar
    Join Date
    Nov 2004
    Location
    Louisiana, USA
    Posts
    209
    I'm working on a function right now to make error checking simpler and it will not include bugs, but it's probably going to be another day before I can get it going.

  4. #19
    Let's do some coding! Welshy's Avatar
    Join Date
    Mar 2005
    Location
    Staffordshire University, UK
    Posts
    168
    Quote Originally Posted by homeyg
    I used 4 arrays total. 1 for displaying the board, 1 for the internal workings of the board, one to record the x,y locations of residential areas on the board, and one to record the x,y locations of the military sites.

    The two arrays that deal with the board are 2D and the ones that deal with recording the locations of the different things are 1D.

    All arrays besides the one that displays the board are arrays of structs.

    Hope that helps some. Looking at my code might not do any good because it is void of useful comments.
    Yeah thanks mate, i was just curious as to how you made it, im thinking about making a similar game myself, kinda like Civ3, which i see you also like to play, hehe

  5. #20
    C/C++ homeyg's Avatar
    Join Date
    Nov 2004
    Location
    Louisiana, USA
    Posts
    209
    Quote Originally Posted by Welshy
    Yeah thanks mate, i was just curious as to how you made it, im thinking about making a similar game myself, kinda like Civ3, which i see you also like to play, hehe
    Proud player of CivIII since December 2001! Btw, it would be extremely hard to make a game like CivIII by yourself because I'm in on a project like that with multiple people and it's really tough (I think the thread for it is in my sig). I had to take a break from it.

    Not to advertise or anything (if that's against the forum rules), but the forum in my sig is an awesome place to get good at CivIII.
    Last edited by homeyg; 04-08-2005 at 02:37 PM.

  6. #21
    C/C++ homeyg's Avatar
    Join Date
    Nov 2004
    Location
    Louisiana, USA
    Posts
    209
    I've updated the game, no more bugs with nukes or spy runs I hope. The code text file is attached. Just compile it.
    Last edited by homeyg; 04-09-2005 at 03:44 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do the game engine and the api interact?
    By Shadow12345 in forum Game Programming
    Replies: 9
    Last Post: 12-08-2010, 12:08 AM
  2. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 03:46 PM
  3. 2D RPG Online Game Project. 30% Complete. To be released and marketed.
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 10-28-2006, 12:48 AM
  4. Game Design Topic #1 - AI Behavior
    By TechWins in forum Game Programming
    Replies: 13
    Last Post: 10-11-2002, 10:35 AM
  5. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM