# Tic Tac Toe Bug when checking win

**URL:** <https://community.thunkable.com/t/tic-tac-toe-bug-when-checking-win/50466>\
**Category:** Questions about Thunkable X\
**Created:** [October 5, 2018, 2:52pm UTC](https://community.thunkable.com/t/tic-tac-toe-bug-when-checking-win/50466 "2018-10-05T14:52:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karthik\_Seetharaman](https://avatars.discourse-cdn.com/v4/letter/k/53a042/32.png) [@Karthik\_Seetharaman](https://community.thunkable.com/u/Karthik_Seetharaman)\
**Post date:** [October 5, 2018, 2:52pm UTC](https://community.thunkable.com/t/tic-tac-toe-bug-when-checking-win/50466/1 "2018-10-05T14:52:43Z")

</div>

I was trying to make a tic-tac-toe app, but I ran into some issues. I made a label for each square of the grid and made a check win function that checks every possible winning combination of labels each time a button is pressed. However, the check win function doesn’t work. I can’t seem to figure out the issue!

Here is the link to the app: [https://x.thunkable.com/copy/b97fa88539d49b7446d9b22b34f826a5](https://x.thunkable.com/copy/b97fa88539d49b7446d9b22b34f826a5)

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [October 5, 2018, 7:37pm UTC](https://community.thunkable.com/t/tic-tac-toe-bug-when-checking-win/50466/2 "2018-10-05T19:37:03Z")

</div>

Hey @Karthik_Seetharaman !

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/4/04df4ad328de0402c1c46e26cad3f6aa29e2a24c.png)

Try this instead of this

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/3/43f2b0c4a2f523946ee4df32341d3f1185913d7f.png)

Keep us updated !

Good day 🙂

---

<div class="post-metadata">

**Author:** ![amrita](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/amrita/32/31_2.png) [@amrita](https://community.thunkable.com/u/amrita)\
**Post date:** [October 5, 2018, 8:59pm UTC](https://community.thunkable.com/t/tic-tac-toe-bug-when-checking-win/50466/3 "2018-10-05T20:59:05Z")

</div>

This is awesome!!! Thanks @AcrobatEpee

---

<div class="post-metadata">

**Author:** ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)\
**Post date:** [October 5, 2018, 9:16pm UTC](https://community.thunkable.com/t/tic-tac-toe-bug-when-checking-win/50466/4 "2018-10-05T21:16:35Z")

</div>

@amrita Always a pleasure to help 🙂  
@Karthik_Seetharaman Keep me updated and call back if you need more help 😕

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:55am UTC](https://community.thunkable.com/t/tic-tac-toe-bug-when-checking-win/50466/5 "2024-11-08T11:55:15Z")

</div>


