# Help I want to create an app for my game

**URL:** <https://community.thunkable.com/t/help-i-want-to-create-an-app-for-my-game/2586505>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [September 9, 2023, 4:42pm UTC](https://community.thunkable.com/t/help-i-want-to-create-an-app-for-my-game/2586505 "2023-09-09T16:42:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![AkiTetsuya](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/akitetsuya/32/160803_2.png) [@AkiTetsuya](https://community.thunkable.com/u/AkiTetsuya)\
**Post date:** [September 9, 2023, 4:42pm UTC](https://community.thunkable.com/t/help-i-want-to-create-an-app-for-my-game/2586505/1 "2023-09-09T16:42:51Z")

</div>

So I want to create an app I got everything down already but I want to set it so that when their score reach 100, the app will set the score to 50 Once only, unless a reset is press then same thing reach 100 the app will set the score to 50 Once only and then will continue counting from there, also I not sure there to post this.

 ![Capture](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/5/b579ab480658fb1d91098504f8eabc57b3409618.png)

This is where I’m at but it doesn’t work

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 9, 2023, 7:42pm UTC](https://community.thunkable.com/t/help-i-want-to-create-an-app-for-my-game/2586505/2 "2023-09-09T19:42:16Z")

</div>

Repeat 1 times doesn’t do anything and it’s not needed. Explain more about what you mean by “once only” because you’ve already mentioned that it will happen at least twice.

Give some **examples** of how the scoring will work based on what the user inputs.

---

<div class="post-metadata">

**Author:** ![AkiTetsuya](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/akitetsuya/32/160803_2.png) [@AkiTetsuya](https://community.thunkable.com/u/AkiTetsuya)\
**Post date:** [September 9, 2023, 7:48pm UTC](https://community.thunkable.com/t/help-i-want-to-create-an-app-for-my-game/2586505/3 "2023-09-09T19:48:56Z")

</div>

So this game called Cabo, 4 players, Player A, Player B, Player C and Player D, so once the game end scoring happen that can be calculate manually, but the game does not end in 1 round so the game will end when one player reach a score of 100 point and the player with the lowest score wins, but if a player manages to score 100 point Exactly, it will reset the point to 50, but this only happen once per player and per game, and the game continues until one player hits 100 point.

---

<div class="post-metadata">

**Author:** ![AkiTetsuya](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/akitetsuya/32/160803_2.png) [@AkiTetsuya](https://community.thunkable.com/u/AkiTetsuya)\
**Post date:** [September 9, 2023, 7:51pm UTC](https://community.thunkable.com/t/help-i-want-to-create-an-app-for-my-game/2586505/4 "2023-09-09T19:51:10Z")

</div>

I also not sure that’s why I need help

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 9, 2023, 10:22pm UTC](https://community.thunkable.com/t/help-i-want-to-create-an-app-for-my-game/2586505/5 "2023-09-09T22:22:54Z")

</div>

> [@AkiTetsuya](#):
>
> but if a player manages to score 100 point Exactly, it will reset the point to 50, but this only happen once per player and per game, and the game continues until one player hits 100 point.

This is conflicting information. How can the game end when one player gets 100 points but if one player gets 100 points, their score gets reset to 50? It doesn’t make sense to me.

Is this based off of an existing game? If so, can you share a link to instructions?

I think without the repeat blocks, you probably have the right code. I just don’t understand how it’s all supposed to work.

---

<div class="post-metadata">

**Author:** ![AkiTetsuya](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/akitetsuya/32/160803_2.png) [@AkiTetsuya](https://community.thunkable.com/u/AkiTetsuya)\
**Post date:** [September 10, 2023, 5:06am UTC](https://community.thunkable.com/t/help-i-want-to-create-an-app-for-my-game/2586505/6 "2023-09-10T05:06:30Z")

</div>

Yes it’s an existing game  
Here’s the rules, under Score Reset  
For Scoring I can do manually.

 ![Cabo-online-rules-1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/d/1d3907eefb0faa6f174d73d01078b5bdb939108d.jpeg)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 10, 2023, 5:43am UTC](https://community.thunkable.com/t/help-i-want-to-create-an-app-for-my-game/2586505/7 "2023-09-10T05:43:59Z")

</div>

If you have two players then this would be the algorithm:

```auto
set player1ScoreWasReset to false
set player2ScoreWasReset to false

If player1Score = 100 AND player1ScoreWasReset = false
   then
      set player1Score to 50
      set player1ScoreWasReset to true

If player2Score = 100 AND player2ScoreWasReset = false
   then
      set player2Score to 50
      set player2ScoreWasReset to true

```

---

<div class="post-metadata">

**Author:** ![AkiTetsuya](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/akitetsuya/32/160803_2.png) [@AkiTetsuya](https://community.thunkable.com/u/AkiTetsuya)\
**Post date:** [September 10, 2023, 6:35am UTC](https://community.thunkable.com/t/help-i-want-to-create-an-app-for-my-game/2586505/9 "2023-09-10T06:35:10Z")

</div>

Thank you It works Omg Yayyy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [December 9, 2023, 9:53am UTC](https://community.thunkable.com/t/help-i-want-to-create-an-app-for-my-game/2586505/14 "2023-12-09T09:53:18Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
