tic tac toe 11-12-2013, 01:51 AM
#1
few days ago i saw @Ex094 working on making a tic tac toe game in c i found it interesting and it will be a good challenge for me so i started working on that project !!
as every1 helped me on my first project rock scissors paper game and gave me feedbacks to make it better i wish you could do the same here !!
first i'll share with you my code i'm stuck somewhere couldn't figure out a way to do it so you guys could start by helping me solving this problem then giving me advices on how to make my code better!!
ok so as you can see in my main it keeps asking to choose a box until the counter is equal or bigger then 9 or we have a winner!!
what i want to do is after the do while is over if we have a winner i wanted to say the winner is player 1 if player 1 won or the winner is player 2 if player 2 won and finally it's a tie if no1 won !!
can u give me ideas on how to do it ?
thx in advance for the help
as every1 helped me on my first project rock scissors paper game and gave me feedbacks to make it better i wish you could do the same here !!
first i'll share with you my code i'm stuck somewhere couldn't figure out a way to do it so you guys could start by helping me solving this problem then giving me advices on how to make my code better!!
Spoiler:
ok so as you can see in my main it keeps asking to choose a box until the counter is equal or bigger then 9 or we have a winner!!
what i want to do is after the do while is over if we have a winner i wanted to say the winner is player 1 if player 1 won or the winner is player 2 if player 2 won and finally it's a tie if no1 won !!
can u give me ideas on how to do it ?
thx in advance for the help
![Smile Smile](https://sinister.ly/images/smilies/set/smile.png)
(This post was last modified: 11-12-2013, 01:51 AM by LordPankake.)
![[Image: blackeagle_zps6ad86521.gif]](http://i1363.photobucket.com/albums/r719/AmazeGotStyle/blackeagle_zps6ad86521.gif)