feedback, please...

This is a discussion on feedback, please... within the C++ Programming forums, part of the General Programming Boards category; I wasnt' sure whether or not it's appropriate to put this here, so if it's not just delete it and ...

  1. #1
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787

    feedback, please...

    I wasnt' sure whether or not it's appropriate to put this here, so if it's not just delete it and i won't complain...

    I just finished the second version of a backburner project I've been working on for a while now... It's a battle system, and I want a little feedback on what I can do to make it better, etc. etc... please no suggestions for a GUI... I don't know how to do that yet, and that may happen one day later anyway...

    here's the link:
    BattleSys
    thanks in advance ;-)
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  2. #2
    Registered User harryP's Avatar
    Join Date
    Sep 2002
    Posts
    124
    It wasn't bad. You may want to add a "Log In" option or something though, rather than re-start the program. I know it's not a big deal or anything, but it'd be a little nicer. Also, I played it like 5 times and my guy ALWAYS lost, player 2 always won...maybe a glitch??? I dunno, just telling you. Not bad though

    Brendan
    Draco dormiens nunquam titallandus.
    Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html

  3. #3
    ...
    ... is offline
    Registered User
    Join Date
    Feb 2002
    Posts
    465
    take advantage of these two functions to make your program a lot prettier...

    Code:
    // SetConsoleCursorPosition( handle, COORD )
    
    COORD coordinate;
    
    coordinate.X = xPosition; // a standard console window is 80 cells across. ( 0 - 79 )
    coordinate.Y = yPosition; // a standard console window is 25 cells long. ( 0 - 24 )
    
    
    // move cursor to specified coordinates
    SetConsoleCursorPosition( GetStdHandle(STD_OUTPUT_HANDLE), coordinate );
    Code:
    // SetConsoleTextAttribute( handle, attribute )
    
    // these are the basic colors to use:
    #define RED FOREGROUND_RED | FOREGROUND_INTENSITY
    #define BLUE FOREGROUND_BLUE | FOREGROUND_INTENSITY
    #define GREEN FOREGROUND_GREEN | FOREGROUND_INTENSITY
    #define BGRED BACKGROUND_RED | BACKGROUND_INTENSITY
    // mix red/blue for magenta, red/green for yellow, blue/green for cyan, all colors for white, leave off intensity for darker colors, etc..
    
    // change text to blue
    SetConsoleTextAttribute( GetStdHandle(STD_OUTPUT_HANDLE), BLUE );
    // change background to red
    SetConsoleTextAttribute( GetStdHandle(STD_OUTPUT_HANDLE), BGRED );
    its as simple as that
    I came up with a cool phrase to put down here, but i forgot it...

  4. #4
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Colours, graphics, mouse, tutorial.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  5. #5
    Registered User harryP's Avatar
    Join Date
    Sep 2002
    Posts
    124
    If you are going to add colours and mouse support and all that, you could also use the Console Graphics Library (I've dubbed it "CGL") that I'm going to post, probably tomorrow. It'll allow you to do all that pretty easily. Good luck with it!

    Brendan
    Draco dormiens nunquam titallandus.
    Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html

  6. #6
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    thanks for the feedback... I fixed a few bugs and reuploaded the program...

    harryP - that's part of my plans for a future version

    thanks for all the help with the colors and fancy stuff... like I said, i was thinking about a future GUI or something, but that looks like a really good interim option ;-)
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Looking for feedback on program segment
    By avron in forum C++ Programming
    Replies: 4
    Last Post: 05-07-2007, 05:38 PM
  2. Feedback?
    By CornedBee in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 01-02-2004, 11:01 PM
  3. Feedback wanted - DispHelper
    By anonytmouse in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 12-31-2003, 09:30 AM
  4. Primary game build, feedback welcome
    By Clyde in forum Game Programming
    Replies: 37
    Last Post: 07-10-2002, 06:34 AM

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