Skip to main content

Tic Tac Toe Version 1.0

Hello everyone this is my first time to submit a game code in C/C++ it is a simple Tic Tac Toe Version 1.0 program. The code is quiet complex for a beginner in C/C++ programming because it has many conditions it is a good experience if you are planning to learn artificial intelligence programming using C/C++ as your language.

If you find this code useful send me an email at [email protected]. People here in the Philippines who wish to contact me they can reach me at my mobile number 09296768375. Thank you very much and Happy Programming.


Mr. Jake Rodriguez Pomperada, MAED - Instructional Technology


Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byAnonymous (not verified)on Tue, 02/17/2009 - 17:32

Hello Jaker!


I got linker error TV.LIB at run time. If possible then plz reply me.



Submitted byAnonymous (not verified)on Tue, 02/17/2009 - 21:02

In reply to by Anonymous (not verified)


Hi Deepa,

  What compiler you use to run my code? Im using Turbo C 2.0 for DOS from Borland International. I dont use any elaborate libraries in my program it is a simple libraries that Turbo C 2.0 provided that I use. Thank you for downloading and use my code.


Jake :-D


Submitted byAnonymous (not verified)on Mon, 02/23/2009 - 17:43

   kua nacopy ko na ung source codde mo...kea lang po na specify mo na kelangan gumamit ng c++  

kua pwede ko bang gamitin ung turbo c.....magrurun kea siya


tnx po ...

Jasmin hir

Submitted byAnonymous (not verified)on Mon, 02/23/2009 - 20:36

In reply to by Anonymous (not verified)


Yes you can use Turbo C 2.0 it will run the code perfectly without any changes needed. Thanks for droping me some question about my work. Take care always and God Bless.





Submitted byAnonymous (not verified)on Sat, 02/28/2009 - 14:07

Can you please post also java code of Tic Tac Toe Game! Please

Submitted byAnonymous (not verified)on Sun, 03/22/2009 - 10:36

hi.. havE a GoOd Day.. kUYa BkA pEde PoNG GuMaWA K NG CoDe nG tIcTacToe Sa CpP gAmiT lNg AnG hEaDeR fIlE nA iOsTreAm.H..

pLs Poh.. TnX..!!

Submitted byAnonymous (not verified)on Mon, 04/13/2009 - 12:11

pwedeng pkiexplain poh ung algorithm ng tic tac toe? ppllllssss poh..
Submitted byAnonymous (not verified)on Sun, 04/26/2009 - 13:56

panu mo iexplain ung condition nya...hehe:) have a nice day po:)
Submitted byAnonymous (not verified)on Mon, 05/04/2009 - 11:29

Hi your program wont compile on DevC++ almost all of the programs I tried compiling and running here is not working on DevC++. can you please post the link where I could download the compiler (Turbo C 2.0 for DOS)? Is it free btw? Pinoy nga po pala ako! :) Salamat
Submitted byAnonymous (not verified)on Tue, 10/13/2009 - 14:51

In reply to by Anonymous (not verified)

did u olready found the site on where to download the turbo c 2.0??
Submitted byAnonymous (not verified)on Mon, 08/24/2009 - 15:50

may i ask something about to your code? if i'm using turbo c 3.0 from borland you think it will work??
Submitted byAnonymous (not verified)on Tue, 10/13/2009 - 14:56

how can i download turbo C 2.0? what site can u recommend? i tried to install it but it says that it needed a compiler.. may i ask how to get a compiler? pleas reply. thanx",)
Submitted byAnonymous (not verified)on Sun, 01/31/2010 - 07:32

Hey, Jake. your program works as a .exe file, but it won't run in C-Free. How do i get this work? Thank you in advance. =)
Submitted byAnonymous (not verified)on Tue, 02/16/2010 - 14:29

Can you please the java code for these game
Submitted byAnonymous (not verified)on Wed, 03/10/2010 - 19:06

nice its work...
Submitted byAnonymous (not verified)on Mon, 07/12/2010 - 11:18

Submitted byAnonymous (not verified)on Tue, 12/07/2010 - 21:02

i live iran


Submitted bynou (not verified)on Tue, 12/13/2011 - 09:31

Hi, thanks for you source code but I have problem when I wanna execut 'undefined reference to `clrscr ', I'm novice, So I wait for your answer tks

Submitted (not verified)on Tue, 02/21/2012 - 21:59

can you post the code for the tic tac toe game and the output is similar in your output..

Submitted byAnonymous (not verified)on Mon, 10/08/2012 - 10:32

can u gave me now a source code of your program? as in now na po :) tnx. and kung pwde poba i2 sa java applet? tnx again. pls. rply agad.

Add new comment

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.