Thread: my upcoming UNO card game :)

  1. #1
    "Why use dynamic memory?"
    Join Date
    Aug 2006
    Posts
    186

    my upcoming UNO card game :)

    Hellow!!!!!! I'm happy and proud to represent my first graphical game ever . It's the famous UNO card game. Here is a screen shot where i was testing the backbuffer and random shuffling..... they worked as expected (attached)

    some Q's&A's:

    1-What library are you using?
    WinAPI32

    2-What is the programming languague did you use to implement this game?
    C++

    3-How many frames per second will the game be running at?
    I haven't decided yet, but i think 12 fps should go good for a card game

    4-How many players ??
    4. You vs comp vs comp vs comp

    5-Why are the graphics really "bad"?
    Because it's the first version

    6-Will it be open-source game?
    Nope

    7-What type of container you used to contain the cards?
    STL vector

    8-What kind of programming technique you used to program the game?
    OOP

    9-How many classes did it take you to program the game ?-Bitmap
    -Card
    -Deck
    -Player
    -UnoGame (to seprate the game code from windows-specific code)


    10-When are you going to finish it?
    Very soon hopefully

    if you have any further questions, please do ask
    "C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg."-Bjarne Stroustrup
    Nearing the end of finishing my 2D card game! I have to work on its 'manifesto' though <_<

  2. #2
    Dr Dipshi++ mike_g's Avatar
    Join Date
    Oct 2006
    Location
    On me hyperplane
    Posts
    1,218
    I haven't decided yet, but i think 12 fps should go good for a card game
    Since the screen content rarely changes you should only need to update the screen when something changes, and even then it would likely just be a section of it.

    For movement/animation 12 fps is going to look hideous. Why not restrict it to 60 instead?

  3. #3
    "Why use dynamic memory?"
    Join Date
    Aug 2006
    Posts
    186
    i dont know honestly... i will see what happens

    this is a more up-to-date ss, where I placed some players' cards at their playing position
    "C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg."-Bjarne Stroustrup
    Nearing the end of finishing my 2D card game! I have to work on its 'manifesto' though <_<

  4. #4
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    You should draw a border around the cards to cards of the same colour don't look like one (the blue ones in the screen shot).

  5. #5
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Consider using images . . . for example, the ones on Wikipedia: http://en.wikipedia.org/wiki/UNO_(game)

    Or you could take images from existing UNO games such as: http://sourceforge.net/projects/unonet

    They look much better than drawn rectangles.
    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.

  6. #6
    "Why use dynamic memory?"
    Join Date
    Aug 2006
    Posts
    186
    dont worry about the graphics you guys, i will co-op with some photoshop guy in the future
    "C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg."-Bjarne Stroustrup
    Nearing the end of finishing my 2D card game! I have to work on its 'manifesto' though <_<

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need Help With a BlackJack Program in C
    By Jp2009 in forum C Programming
    Replies: 15
    Last Post: 03-30-2009, 10:06 AM
  2. 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
  3. Problem With My Box
    By HaVoX in forum Tech Board
    Replies: 9
    Last Post: 10-15-2005, 07:38 AM
  4. Video card mystery
    By Leeman_s in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 11-30-2003, 02:56 PM
  5. My Memory Game
    By jazy921 in forum C Programming
    Replies: 0
    Last Post: 05-05-2003, 05:13 PM