"Simple Tic Tac Toe Program in C" v1.0

Submitted By: mastermunj
Rating: starstarstarstar (Rate It)
Share: Share By Email By Email

A Tic Tac Toe program written in C using graphics as well as
text mode giving brief idea of developing games in C


NOTE: Some downloads must be obtained through publishers´s site.
Do you want to get your software listed on this site? Go to our submissions area.

Screenshot


Details

File Name:
32947.zip
Product homepage:
Order page:
Languages:
C
Platforms:
Unknown
Release date:
3/4/2004
License:
Unknown
Size:
3 KB
Price/Fee (US$):
Unknown
Number of downloads:
46041

Comments (24)

Very helpful starstarstarstarstar   Posted by: deltasquare4 on Tuesday, October 05, 2004

I've learnt many things for c programming. It is very helpful.

Kewl !!! This is the Bes of all I can Say starstarstarstarstar   Posted by: Ravindra on Tuesday, March 01, 2005

Wow!! Amazing piece of code .... i have learn't lot many things ot of this code.. not just C but in terms of Logic and Code Optimization. Thanks to the Developer.. :)

source code star   Posted by: ashik on Friday, March 18, 2005

nice

Outta World... Fabulous code....... starstarstarstarstar   Posted by: Rohit Sharma on Monday, March 28, 2005

How do people get such a fine brain to make this kinda fabulous piece of code.... I wish I can meet this person to say him thanz a lot for sharing such a beautiful code and If he can teach me some tips as well.....

tic tac toe starstarstarstar   Posted by: carl on Thursday, May 26, 2005

its fun to play with it!.....

Quite Impressive starstarstarstarstar   Posted by: Mike on Saturday, January 07, 2006

It seems u have worked lot on optimization .. though i cud not understand its complexity ... i kinda liked it when i got thru code..

keep it up dude...

Something to ask abt tis source code   Posted by: POla on Monday, March 12, 2007

tic.c:2:18: error: conio.h: No such file or directory
tic.c: In function ‘main’:
tic.c:21: error: ‘_NOCURSOR’ undeclared (first use in this function)
tic.c:21: error: (Each undeclared identifier is reported only once
tic.c:21: error: for each function it appears in.)
tic.c: In function ‘player_first’:
tic.c:175: error: ‘RED’ undeclared (first use in this function)
tic.c: In function ‘start_game’:
tic.c:207: error: ‘RED’ undeclared (first use in this function)
tic.c: In function ‘check_draw’:
tic.c:220: error: ‘RED’ undeclared (first use in this function)

-Above is the error appear when i compiled the source code for tic2.c and i just dunno how to debug it. Is there anyone can tell me wat should i do???? I will appreciate ur help.

tic tac toe starstarstarstar   Posted by: hurshid on Friday, May 18, 2007

It did not work i dont know why.

Comment starstarstarstar   Posted by: Godzilla3000 on Thursday, June 07, 2007

Code is working good. I ported this code to an embedded 68000 box as a demo for a simple graphic interface on a VT100. Just what I was looking for. Thanks for publishing this piece of code.

Re: Something to ask abt tis source code starstarstarstarstar   Posted by: prudence on Tuesday, September 23, 2008

you need to include conio.h library.

"tic.c:2:18: error: conio.h: No such file or directory"

^ SEE. it`s already written there.

programming starstarstarstarstar   Posted by: fahd on Wednesday, September 24, 2008

good

thanks! starstarstarstarstar   Posted by: dawn on Saturday, October 18, 2008

thanks for making this code!!!


now all i have to do is to copy it, edit a little to make it my own project and boom, i pass the test!! ^_^


if ill have problems with editing it to a much simplier code, will you help me??

This is the best game ever starstarstarstarstar   Posted by: Bob on Monday, December 01, 2008

I dont need electronics. This game rocks.

algorithm for tic tac doe starstarstarstarstar   Posted by: sowmya on Sunday, December 28, 2008

c is an high level language

LoL starstar   Posted by: noland on Monday, March 02, 2009

C program is the worst.. i like Java Scripting and Visual Basic better..

i like C starstarstarstarstar   Posted by: henry gallardo on Wednesday, August 12, 2009

i like C but i want also java

comments starstarstar   Posted by: Conrad on Sunday, August 16, 2009

try adding comments to your next program.
PS, it's no secret, but you are allowed to document the algorithm in a comment too.

commet only starstar   Posted by: bluerose on Monday, January 11, 2010

i got a lot of errors because of just copying it without editing

c code starstarstar   Posted by: priya on Thursday, March 04, 2010

1 Question starstarstarstarstar   Posted by: Sudeep on Monday, May 03, 2010

How do i make this program to loop until the user wants to play?????i have tried many methods but the inputs of X and O doesnt clear!!!!!!how can i make them clear?????plz help me!!!!!!and by the way this is a gr8 program...i have made 2player mode from this too....now all i need is just to loop the prgram again with cleared X and O......thnx in advance.....

source code for tic tac toe starstarstarstarstar   Posted by: norvin parilla on Thursday, September 30, 2010

please help me for this program!

go starstarstar   Posted by: sajib on Wednesday, October 06, 2010

hi hi

din work star   Posted by: anjali on Monday, October 18, 2010

wats the problm with this??i coudnt run, shows some rror...

MCA starstarstarstarstar   Posted by: Tapan Chandra Talukdar on Monday, February 18, 2013

I want be a good gaming designer and good programmer..

Add Your Rating

(Not published)
star
starstar
starstarstar
starstarstarstar
starstarstarstarstar
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.