# Win Counter, How do you make one?

**URL:** <https://community.thunkable.com/t/win-counter-how-do-you-make-one/390848>\
**Category:** Questions about Thunkable X\
**Created:** [January 3, 2020, 10:48pm UTC](https://community.thunkable.com/t/win-counter-how-do-you-make-one/390848 "2020-01-03T22:48:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [March 30, 2020, 2:38pm UTC](https://community.thunkable.com/t/win-counter-how-do-you-make-one/390848/2 "2020-03-30T14:38:00Z")

</div>

Hey @rawan.sajid.5003x3zb 👋

This really [takes me back](http://community.thunkable.com/t/rock-paper-scissors-lizard-spock/804), would love to help you out with this.

> [@rawan.sajid.5003x3zb](#):
>
> is there any way for it to keep a track/tally of wins and losses

I’d use a [stored variable](https://docs.thunkable.com/variables#app-stored-and-cloud-variables) for this.

* * *

> [@rawan.sajid.5003x3zb](#):
>
> as well as declaring a winner best 3 out of 5 and then reset to 0?

A simply [IF statement](https://docs.thunkable.com/control#if-this-do-that) here will do the trick:

`if (p1_score >= 3 || p2_score >= 3){reset(); }`

---

_[View the full topic](https://community.thunkable.com/t/win-counter-how-do-you-make-one/390848)._
