# Simple naughts and crosses game (tic tac toe)

**URL:** <https://forum.kirupa.com/t/simple-naughts-and-crosses-game-tic-tac-toe/154435>\
**Category:** Uncategorized\
**Created:** [July 9, 2005, 8:01pm UTC](https://forum.kirupa.com/t/simple-naughts-and-crosses-game-tic-tac-toe/154435 "2005-07-09T20:01:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ineedsleep](https://avatars.discourse-cdn.com/v4/letter/i/e5b9ba/32.png) [@Ineedsleep](https://forum.kirupa.com/u/Ineedsleep)\
**Post date:** [July 9, 2005, 8:01pm UTC](https://forum.kirupa.com/t/simple-naughts-and-crosses-game-tic-tac-toe/154435/1 "2005-07-09T20:01:31Z")

</div>

right Im try ing to make a tic tac toe game but how would you test for a winning line? would I use and array if so how or would I use one big nested if statement?
