Newgrounds Background Image Theme

Our goal is for Newgrounds to be ad free for everyone! Become a Supporter today and help make this dream a reality!

Tic Tac Toe

Share Collapse

Author Comments

My attempt for a Tic Tac Toe coding challenge.

The game has a number of English names.

  • Tick-tack-toe, tic-tac-toe, tick-tat-toe, or tit-tat-toe (United States, Canada)
  • Noughts and crosses or naughts and crosses (United Kingdom, Republic of Ireland, Australia, New Zealand, South Africa, Zimbabwe, India)
  • Exy-ozies (verbal name only) (Northern Ireland)
  • Xs and Os (Ireland, Zimbabwe, Canada, Israel)

Sometimes, the games tic-tac-toe (where players keep adding "pieces") and three men's morris (where pieces start to move after a certain number have been placed) are confused with each other.

Log in / sign up to vote & review!

Newgrounds accounts are free and registered users see fewer ads!

bien chido, ahora voy a por los torneos xd

when the computer puts an X adjacent to your center O you always win, only fault to the AI

2 intelligent players playing tic-tac-toe will always end in a draw. It honestly shouldn't be too difficult to either do the casework or the dfs based function for tic-tac-toe. At least the UI is nice, but that's pretty much it.

You should have a difficulty mode or something, because at first I was only losing and getting draws. Later at round 40, I have gotten 4 wins. Still a pretty fun game to use a few minutes on though.

Not bad found out how to win pretty soon, I like it.=)