Top Trumps...

This is a discussion on Top Trumps... within the C++ Programming forums, part of the General Programming Boards category; I am going to work on a small project implementing the Top Trumps card game to test my knowledge so ...

  1. #1
    Registered User
    Join Date
    Feb 2009
    Posts
    329

    Top Trumps...

    I am going to work on a small project implementing the Top Trumps card game to test my knowledge so far. I am still fairly new to C++. What I want to do is add basic graphics showing the actual cards. I've never used any graphic libraries, etc. Which would be the best to research to work on this?

    Thanks,

    Darren.

  2. #2
    Registered User
    Join Date
    Mar 2010
    Posts
    109
    If you want to learn the intricacies of actual graphics programming, either learn DirectX or OpenGL. Otherwise, find a framework that incorporates either API and use that to render your cards. Something like Ogre3D.

  3. #3
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,048
    If you just want to draw some cards then there are far easier ways . . . .

    I'd suggest looking into ncurses, if you can bear text-based graphics (there's a variant called pdcurses that works well on windows). If you really want actual graphics, a very nice library to use is the SDL (here's a great tutorial: Lazy Foo' Productions).

    There are others, of course, but the SDL would be my suggestion.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  4. #4
    Registered User
    Join Date
    Feb 2009
    Posts
    329
    Thanks for the suggestions. I will take a look into them.

    Darren.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Forced moves trouble!!
    By Zishaan in forum Game Programming
    Replies: 0
    Last Post: 03-27-2007, 06:57 PM
  2. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 05:23 AM
  3. OpenGL, loading BMP Textures?
    By Zeusbwr in forum Game Programming
    Replies: 12
    Last Post: 12-09-2004, 04:16 PM
  4. Odd 3D Invis Objects?
    By Zeusbwr in forum Game Programming
    Replies: 4
    Last Post: 12-07-2004, 06:01 PM
  5. Stack functions as arrays instead of node pointers
    By sballew in forum C Programming
    Replies: 8
    Last Post: 12-04-2001, 10:13 AM

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