C Board  

Go Back   C Board > General Programming Boards > Game Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 01-22-2008, 01:47 AM   #1
"Why use dynamic memory?"
 
Join Date: Aug 2006
Posts: 179
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
Attached Images
 
__________________
"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
OS: Microsoft XP Media Center
IDE: Microsoft Visual Studio 2005 pro edition
Current Porject: Developing a 2D card game...
Hussain Hani is offline   Reply With Quote
Old 01-22-2008, 10:50 AM   #2
Wheres the lesbians?
 
mike_g's Avatar
 
Join Date: Oct 2006
Location: UK
Posts: 1,219
Quote:
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?
mike_g is offline   Reply With Quote
Old 01-23-2008, 12:59 AM   #3
"Why use dynamic memory?"
 
Join Date: Aug 2006
Posts: 179
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
Attached Images
 
__________________
"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
OS: Microsoft XP Media Center
IDE: Microsoft Visual Studio 2005 pro edition
Current Porject: Developing a 2D card game...
Hussain Hani is offline   Reply With Quote
Old 01-23-2008, 12:08 PM   #4
Crazy Fool
 
Perspective's Avatar
 
Join Date: Jan 2003
Location: Canada
Posts: 2,588
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).
Perspective is offline   Reply With Quote
Old 01-23-2008, 01:12 PM   #5
Frequently Quite Prolix
 
dwks's Avatar
 
Join Date: Apr 2005
Location: Canada
Posts: 7,629
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, etc.

New project: nort
dwks is offline   Reply With Quote
Old 01-24-2008, 01:19 AM   #6
"Why use dynamic memory?"
 
Join Date: Aug 2006
Posts: 179
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
OS: Microsoft XP Media Center
IDE: Microsoft Visual Studio 2005 pro edition
Current Porject: Developing a 2D card game...
Hussain Hani is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help With a BlackJack Program in C Jp2009 C Programming 15 03-30-2009 10:06 AM
2D RPG Online Game Project. 30% Complete. To be released and marketed. drallstars Projects and Job Recruitment 2 10-28-2006 12:48 AM
Problem With My Box HaVoX Tech Board 9 10-15-2005 07:38 AM
Video card mystery Leeman_s A Brief History of Cprogramming.com 1 11-30-2003 02:56 PM
My Memory Game jazy921 C Programming 0 05-05-2003 05:13 PM


All times are GMT -6. The time now is 10:30 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

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