Thread: Can anyone tell me any simple games related to C++ 4.9.9.2 ? thanks

  1. #1
    Registered User Abcede Ryan's Avatar
    Join Date
    Aug 2013
    Location
    Cagayan de Oro City
    Posts
    2

    Arrow Can anyone tell me any simple games related to C++ 4.9.9.2 ? thanks

    Really need to know any simple games Related to C++ 4.9.9.2 except for this games tic tac toe and Sword Art Stick Man Role Playing Game

  2. #2
    - - - - - - - - oogabooga's Avatar
    Join Date
    Jan 2008
    Posts
    2,808
    Strange question.

    What exactly is "a game related to C++" ?

    Are you looking for the source code for a simple game written in C++?

    If so, it sounds like you're trying to get someone to do your homework for you.

  3. #3
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,472
    What are you on about? There is no game 'related' to C++, you can program 'simple' games in just about any language. Just use your imagination - for example, peg solitaire - Represent the board with chars and move the pieces by receivng a pair of coordinates for the pair you are 'picking up' and a pair for the destination of the peg.

    This could eventually evolve to using say SDL - where you can use graphics and select and move pieces with the mouse - still 'simple' relative to other games.

    like this

    Can anyone tell me any simple games related to C++ 4.9.9.2 ? thanks-sdlsolitairesmall-jpg
    Last edited by rogster001; 08-09-2013 at 01:08 PM.
    Thought for the day:
    "Are you sure your sanity chip is fully screwed in sir?" (Kryten)
    FLTK: "The most fun you can have with your clothes on."

    Stroustrup:
    "If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"

  4. #4
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,472
    Well i thought i might post this game from the screenshot - sorry no source code as i have lost it and only have an intermediate set of the files left :-<

    I do however have the complete game as it was when i last built it - It was quite neat to revisit, and i liked some of the touches i had added that had forgotten about, like loading preset start patterns (for easier completion / practice ) and ability to save up to three positions, also some of the animations(for which i can remember asking advice on these pages). Perhaps it is illustrative for the seeker of 'simple' games! - showing it takes a lot to even implement a graphics game that is based on a simple boardgame - where a console version would take very little time.. I dabbled in uploading it to google drive - this link should work for you, it is about 3.5 mb download, mainly because i had no idea at the time how to encode my graphics in binaries and the entire 'static' backgrounds are bmps, so pretty much everything in the zip is a dependancy, obviously the dlls.

    You should be able to download, unzip to the suggested folder and click the exe to run it -All art courtesy of windows textures, tweaked images from searches and lots of my arty work - wearing a beret, twirling a stick-on moustache and using artweaver cos i had not dabbled with GIMP enough at the time to feel confident with it! Its an ok game from a non game programmer, i loved making it - seems like an age ago.

    zip can be downloaded here - the page will show folder contents but if you choose the upper-left button 'file' you can select download from the context menu to get the zip
    Last edited by rogster001; 08-09-2013 at 03:25 PM.
    Thought for the day:
    "Are you sure your sanity chip is fully screwed in sir?" (Kryten)
    FLTK: "The most fun you can have with your clothes on."

    Stroustrup:
    "If I had thought of it and had some marketing sense every computer and just about any gadget would have had a little 'C++ Inside' sticker on it'"

  5. #5
    Registered User Abcede Ryan's Avatar
    Join Date
    Aug 2013
    Location
    Cagayan de Oro City
    Posts
    2
    NO i am not looking for a source code .. I just need some idea of some games that are simple to program using the Dev C++ 4.9.9.2 prompt!

  6. #6
    11DE784A SirPrattlepod's Avatar
    Join Date
    Aug 2013
    Posts
    485
    tic-tac-toe is a semi-interesting challenge.

  7. #7
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    I know Heroes of Newerth is coded in C++ so you can always try to make that game...

  8. #8
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I don't think Heroes of Newerth is a simple game to start off with. Perhaps in some years time it might be a good side project, but for a beginner... I don't think it's that good.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  9. #9
    11DE784A SirPrattlepod's Avatar
    Join Date
    Aug 2013
    Posts
    485
    Quote Originally Posted by Elysia View Post
    I don't think Heroes of Newerth is a simple game to start off with. Perhaps in some years time it might be a good side project, but for a beginner... I don't think it's that good.
    What's your suggestion?

  10. #10
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I don't know. That's why I haven't suggested anything.
    Still, tic-tac-toe might be a good challenge for newbies. Especially one where you can generalize the size of the board.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  11. #11
    11DE784A SirPrattlepod's Avatar
    Join Date
    Aug 2013
    Posts
    485
    Quote Originally Posted by Elysia View Post
    I don't know. That's why I haven't suggested anything.
    Still, tic-tac-toe might be a good challenge for newbies. Especially one where you can generalize the size of the board.
    Tic-tac-toe isn't exactly 100% trivial. Have you done it?

  12. #12
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Yes, I have. If something is trivial, then it's no challenge. If there's no challenge, then you don't push your boundaries.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  13. #13
    11DE784A SirPrattlepod's Avatar
    Join Date
    Aug 2013
    Posts
    485
    Quote Originally Posted by Elysia View Post
    Yes, I have. If something is trivial, then it's no challenge. If there's no challenge, then you don't push your boundaries.
    Please post your implementation of player vs. computer. I'm am genuinely interested.

  14. #14
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Who said anything about AI? Besides, it's in Java, as was required by the college.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  15. #15
    11DE784A SirPrattlepod's Avatar
    Join Date
    Aug 2013
    Posts
    485
    Quote Originally Posted by Elysia View Post
    Who said anything about AI? Besides, it's in Java, as was required by the college.
    So, it's not so trivial after all?

    Who said that AI was excluded?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. STL related
    By suligab in forum C++ Programming
    Replies: 7
    Last Post: 01-04-2006, 06:35 AM
  2. Simple games.
    By Greatfaith in forum Game Programming
    Replies: 7
    Last Post: 12-23-2005, 04:24 AM
  3. Simple, non 3d games - what to use??
    By born_a_trumpet in forum Game Programming
    Replies: 23
    Last Post: 07-06-2004, 09:30 AM
  4. Is the Media(TV,Movie,Video Games) related to vioence?
    By drdroid in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 07-01-2003, 09:38 AM
  5. c++ games comparable to psx games?
    By anarchyhollow in forum Game Programming
    Replies: 17
    Last Post: 01-08-2003, 08:49 PM