hallo...i want to make a game using C. The game called tik tak tok...it's can b made using 2d matrics, there will b 3 rows and 3 column...if player one choos the box of first rows of the first culumn...he have to put x...then the 2nd playr's turn will come....he\she have to put "o" in anyremaining boxes...finally when any one could make 3 x or o in row or in culumn... or croos way 3 x or o...he will b the winner...so how can i do this? any one can help me with code pleas?
tahnan
0
Newbie Poster
Recommended Answers
Jump to Post>> any one can help me with code pleas
Yes, start here
int main() { // put your code here }
Jump to PostIt is that in standard C, you can only print the results line by line (you can also overwrite the line, but not go back). Therefore using only standard C, the only option is to print the board every move, which sometimes can be even quite satisfactory option, because when …
Jump to PostGDI+ and MFC maybe?
Jump to PostGDI is bad because it's not cross-platform. MFC is a horribly badly designed and unreliable library, never ever use this. And better don't rely on windows api, because microsoft tends to change its api, in windows vista it's not any more the same as in the descendants of windows nt, …
Jump to PostThose are fighting-words Mr. :)
No, these are the words of good advice, and only intended as such. I care about developers, and about the users, but i don't care about the companies. Please don't interpret it so that not caring about the companies is always fighting against them, this …
All 19 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
TkTkorrovi
69
Junior Poster
jbennet
1,618
Most Valuable Poster
Team Colleague
Featured Poster
TkTkorrovi
69
Junior Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
tahnan
0
Newbie Poster
tahnan
0
Newbie Poster
TkTkorrovi
69
Junior Poster
iamthwee
commented:
Damn right, tell it like is!
+11
Aia
commented:
For caring.
+6
tahnan
0
Newbie Poster
Salem
5,138
Posting Sage
TkTkorrovi
69
Junior Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
TkTkorrovi
69
Junior Poster
tahnan
0
Newbie Poster
Salem
5,138
Posting Sage
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Salem
5,138
Posting Sage
tahnan
0
Newbie Poster
Salem
5,138
Posting Sage
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.