# My program isn't doing what I want it to do (x and o game / Tic Tac Toe)

**URL:** https://discourse.processing.org/t/my-program-isnt-doing-what-i-want-it-to-do-x-and-o-game-tic-tac-toe/25516
**Category:** Coding Questions
**Created:** [November 18, 2020, 7:42pm UTC](https://discourse.processing.org/t/my-program-isnt-doing-what-i-want-it-to-do-x-and-o-game-tic-tac-toe/25516 "2020-11-18T19:42:31Z")
**Posts on this page:** 1
**Showing post:** 69

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [April 24, 2021, 10:44am UTC](https://discourse.processing.org/t/my-program-isnt-doing-what-i-want-it-to-do-x-and-o-game-tic-tac-toe/25516/69 "2021-04-24T10:44:54Z")

</div>

I made a 3D Tic tac toe now with an AI based on your rules

I also made a random player and the AI played the random player overnight with 156000 games. It didn’t loose one game.  
(now \>260.000 games but I don’t think that automatically means, the AI plays perfect)

 ![Unbenanqnt](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/9/9e9ac198130fec2fa56796fcb99a87923f7238a0.jpeg)

---

_[View the full topic](https://discourse.processing.org/t/my-program-isnt-doing-what-i-want-it-to-do-x-and-o-game-tic-tac-toe/25516)._
