# I want to make a roulette

**URL:** <https://community.thunkable.com/t/i-want-to-make-a-roulette/1763619>\
**Category:** Questions about Thunkable X\
**Created:** [March 2, 2022, 1:34pm UTC](https://community.thunkable.com/t/i-want-to-make-a-roulette/1763619 "2022-03-02T13:34:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [March 2, 2022, 2:44pm UTC](https://community.thunkable.com/t/i-want-to-make-a-roulette/1763619/3 "2022-03-02T14:44:17Z")

</div>

Set app variable outcome to random 1 to 100  
If app variable outcome \<= 10 then \_\_\_\_\_  
elseif app variable \<= (10+20) then \_\_\_\_\_\_  
Elseif app variable \<= (10+20+70) then \_\_\_\_\_

These conditions are in the following order:  
10%  
20%  
70%

Also, here’s a similar method with a screenshot of blocks:

> [@Weighted randomness](https://community.thunkable.com/t/weighted-randomness/869597/2):
>
> It is possible. This code will make the job done [image] -Roumak

---

_[View the full topic](https://community.thunkable.com/t/i-want-to-make-a-roulette/1763619)._
