My best c++ console game

This is a discussion on My best c++ console game within the C++ Programming forums, part of the General Programming Boards category; Hi guys, I along with some of my friends are creating a game pack in C++. I have attached the ...

  1. #1
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683

    My best c++ console game

    Hi guys,
    I along with some of my friends are creating a game pack in C++. I have attached the partially completed game both in exe and cpp in the attached zip file along with the supporting files. The credit, exit and the partialy completed tic tac toe are the only parts working now.. Please have a look and give me suggestions on graphics and logic so that we can improve it...


    Thanx

    Note:- The corrupt zip file has been replaced with a working one now
    Attached Files Attached Files

  2. #2
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    Cool! Your menu is awsome. I also like how your credits work.

  3. #3
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Thanks... But some how i could not properly structurize the program while coding...

  4. #4
    Registered User
    Join Date
    Feb 2002
    Posts
    145

    Thumbs up Cool

    That is a pretty cool program, I also like the menu. I was just wondering one thing. When I first run the program it starts in a maximized window. What code did you use to do this? I want it so the user doesn't have to push Alt+Enter, the window automatically maximizes. Can you help at all?

    Thank you in advance.


    Kyoto Oshiro
    http://www.angelfire.com/realm2/horizon/files.html
    Horizon Games

  5. #5
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    here:
    Code:
    _asm{
    mov ax,13h
    int 10h
    }
    _asm{
    mov ax, 03h
    int 10h
    }

  6. #6
    Something Clever ginoitalo's Avatar
    Join Date
    Dec 2001
    Posts
    187
    Excellent Work,

    Some Coding style suggestions :

    --goto statements are kinda frowned upon as
    showing poor logic flow.

    --When comparing the same var "jhk" to multiple constant values
    like if(jkl==0x48)......, if(jkl==0x50).......... switch statements make code easier to follow.

    Looks great !

  7. #7
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Well i had to use goto since the design of the program did not allow me to transfer controll easily.. And i used the if statements instead of case since it made the validation easier.. ANd thaks for the comments.. It would be great if you guys can provide some logic for the other games..
    Thanks
    Bye

  8. #8
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Well i only see many downloads but nnot much comments.. Please post a comment after seeing the game so that i can improve it...

  9. #9
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Hey just 90 downloads but no comments???

  10. #10
    Unregistered
    Guest
    That was an excellent tic tac toe gam eyou have ther....

  11. #11
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Thanks.... But the single player mode of tic tac toe has not yet been completed..

  12. #12
    Registered User
    Join Date
    Nov 2001
    Posts
    21
    wow, not bad, not bad. I like those graphics... cauz i dont know how to do them... what are all those *.chr files in your zip for?

  13. #13
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Thanks,,
    The *.chr are the font files. SInce i have used many different kinds of text style in the graphics part of the program. . I have included these filese. Else the fonts will be the default which you will see not the one i specified while coding..

  14. #14
    Registered User Sekti's Avatar
    Join Date
    Feb 2002
    Posts
    163

    welll

    It was slow and to suped up (oh man that sounds wierd) I mean you tried to make it so special I don't know it just seems like a little to much graphics and stuff, but other then that man the ai is fun to play good job.
    +++
    ++
    + Sekti
    ++
    +++

  15. #15
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Thank you for you comments... I too think that i over decorated it...

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need book to program game into multiplayer...
    By edomingox in forum Game Programming
    Replies: 3
    Last Post: 10-02-2008, 09:26 AM
  2. PC or Console gamers, what are you playing?
    By indigo0086 in forum A Brief History of Cprogramming.com
    Replies: 119
    Last Post: 04-14-2008, 08:17 AM
  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 console input
    By glUser3f in forum Game Programming
    Replies: 3
    Last Post: 11-07-2003, 03:33 AM
  5. Best game console
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 11-05-2001, 08:25 PM

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