# Euros Score Predictor Game

**URL:** <https://community.thunkable.com/t/euros-score-predictor-game/1365690>\
**Category:** Questions about Thunkable X\
**Created:** [June 26, 2021, 6:34pm UTC](https://community.thunkable.com/t/euros-score-predictor-game/1365690 "2021-06-26T18:34:27Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![will\_r.06](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/will_r.06/32/74558_2.png) [@will\_r.06](https://community.thunkable.com/u/will_r.06)\
**Post date:** [June 26, 2021, 6:34pm UTC](https://community.thunkable.com/t/euros-score-predictor-game/1365690/1 "2021-06-26T18:34:27Z")

</div>

Hello everyone I have created a euros score predictor and am confused as to how I display the points you can get from guessing the score correctly or by 1 goal either way. I have created a variable made to save the score for how many points you have gotten but when I test it the label text comes up as NaN instead of the score. The app is not complete yet so there is still some problems. Any help would be appreciated, Thanks.

Link to app: [Thunkable](https://x.thunkable.com/copy/81526aa47dbc2a00797b384e5178e11b)

---

<div class="post-metadata">

**Author:** ![Dean\_Artis](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@Dean\_Artis](https://community.thunkable.com/u/Dean_Artis)\
**Post date:** [June 26, 2021, 6:41pm UTC](https://community.thunkable.com/t/euros-score-predictor-game/1365690/2 "2021-06-26T18:41:04Z")

</div>

Hope you fix it soon as the Euros don’t have much longer to run.

Perhaps you can expand the app to include domestic league matches, Champions League, and other International tournaments.

---

<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:** [June 26, 2021, 6:48pm UTC](https://community.thunkable.com/t/euros-score-predictor-game/1365690/3 "2021-06-26T18:48:18Z")

</div>

When you have a project with multiple screens, you need to explain which screen(s) the problem is occurring on and which components (e.g. label name) the issue is related to. You may know your project really well but we’re just looking at it for the first time.

A screenshot of the NaN result and the related blocks would also be helpful.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [June 26, 2021, 7:32pm UTC](https://community.thunkable.com/t/euros-score-predictor-game/1365690/4 "2021-06-26T19:32:51Z")

</div>

NaN means Not a Number. This means your app is attempting to add a number with a text which results in this error.

Please provide enough info of how to produce this situation so we can give some suggestions.

---

<div class="post-metadata">

**Author:** ![will\_r.06](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/will_r.06/32/74558_2.png) [@will\_r.06](https://community.thunkable.com/u/will_r.06)\
**Post date:** [June 27, 2021, 11:24am UTC](https://community.thunkable.com/t/euros-score-predictor-game/1365690/5 "2021-06-27T11:24:35Z")

</div>

This app is just for a school project so with the theme of the euros but thank you for your feedback.

---

<div class="post-metadata">

**Author:** ![will\_r.06](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/will_r.06/32/74558_2.png) [@will\_r.06](https://community.thunkable.com/u/will_r.06)\
**Post date:** [June 27, 2021, 11:27am UTC](https://community.thunkable.com/t/euros-score-predictor-game/1365690/6 "2021-06-27T11:27:23Z")

</div>

Thank you for your help, the problem is on the results screen and here is a screenshot of the problem when I do a live test:

 ![Screenshot 2021-06-27 at 12.25.55](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/5/6553508daab338293376a3b69be13a9e03b4ade3.png)

---

<div class="post-metadata">

**Author:** ![will\_r.06](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/will_r.06/32/74558_2.png) [@will\_r.06](https://community.thunkable.com/u/will_r.06)\
**Post date:** [June 27, 2021, 11:29am UTC](https://community.thunkable.com/t/euros-score-predictor-game/1365690/7 "2021-06-27T11:29:17Z")

</div>

Thank you very much for your help i will check to see what that text is 👍

---

<div class="post-metadata">

**Author:** ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)\
**Post date:** [June 27, 2021, 6:05pm UTC](https://community.thunkable.com/t/euros-score-predictor-game/1365690/8 "2021-06-27T18:05:11Z")

</div>

for starters, i made these 2 changes - and they got rid of the NaN results. (it means those 2 variables were not initialized to a valid value).  
i didn’t get a chance to study the computation blocks inside Results - you should go over it to see if you’ve got all names right or the compare conditions (ie. equal or not\_equal, etc) are right - the variable names are too similar.

here’s the link to the project (only 2 minor changes)  
[https://x.thunkable.com/copy/31c3484f4687c1f4c77f19254484c5e1](https://x.thunkable.com/copy/31c3484f4687c1f4c77f19254484c5e1)

Changes to Home Page

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

changes to Results Page

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/6/562860deeccd62d85f8f278723ede4c7c4b5ab4d.jpeg)

good luck!

---

<div class="post-metadata">

**Author:** ![will\_r.06](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/will_r.06/32/74558_2.png) [@will\_r.06](https://community.thunkable.com/u/will_r.06)\
**Post date:** [June 27, 2021, 6:32pm UTC](https://community.thunkable.com/t/euros-score-predictor-game/1365690/9 "2021-06-27T18:32:28Z")

</div>

Thank you very much for your help!

---

<div class="post-metadata">

**Author:** ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)\
**Post date:** [June 27, 2021, 6:41pm UTC](https://community.thunkable.com/t/euros-score-predictor-game/1365690/10 "2021-06-27T18:41:27Z")

</div>

I hope it helps.

---

<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, 1:20pm UTC](https://community.thunkable.com/t/euros-score-predictor-game/1365690/11 "2024-11-08T13:20:06Z")

</div>


