Welcome to the most risky game in the world ----Grab 47!
[[START]]
[[QUIT]]
[[ I'm Beginner, Check the rules-> rules]]
[[ I'm Expert, Start->Start!]]
Oh, Forget to tell you. there is no way to escape, unless you finished the Gambling.
[[Fine, Go back to play->START]] Here are the rules you need to know!
</style>
<img src="https://skywell.software/wp-content/uploads/2019/10/ai-vs-human-1024x512.jpg">
You will battle with AI using Rock Papaer and Scissors.
<img src="http://www.helpmykidlearn.ie/images/uploads/rock,_paper_larger.jpg" >
You and AI will have limit Rock Paper and Scissors, 3 of each. Be smart!
<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/rock--left.png" width="200" height="200"> x3
</div>
<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/scissors--left.png" width="200" height="200"> x3
</div>
<img
src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/paper--left.png" width="200" height="200"> x3
</div>
</style>
The points will pop up randomly each round, and you need to gain as much as possible, but no more than 47.
WINNING CONDITION:
1.Your points higher than AI.
2.AI points higher than 47.
FAILURE CONDITION:
1.Your points lower than AI.
2.Your points higher than 47.
[[START->Start!]]</style>
<img src="https://pbs.twimg.com/media/DzOJ2VqXQAAd3wz.jpg:large" width="550" height="400">
<img src="https://www.netclipart.com/pp/m/182-1828041_question-mark-png-question-mark-symbol.png" width="172" height="150">
(set: $aspoints to 0)
AI Total: $aspoints
(set: $pointnumber = Math.floor(Math.random() * 10) + 6)
(set: $count to 1)
Round $count Points: $pointnumber
(set: $points to 0)
Your Total: $points
(set:$countr to 3)
(if:$countr is 0)[
<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/rock--left.png" width="150" height="150">x$countr]
(elseif: $countr>0)[[[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/rock--left.png" width="150" height="150">->r]]x$countr]
(set:$counts to 3)
(if:$counts is 0)[
<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/scissors--left.png" width="150" height="150">x$counts ]
(elseif:$counts>0)[[[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/scissors--left.png" width="150" height="150">->s]]x$counts]
(set:$countp to 3)
(if:$countp is 0 )[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/paper--left.png" width="150" height="150"> x $countp]
(elseif:$countp>0)[[[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/paper--left.png" width="150" height="150">->p]]x$countp]
(set:$counta to 0)
(set:$countb to 0)
(set:$countc to 0)
(set: $aid to (either:0, 1, 2))
(if:$aid is 0)[
(set: $counta to $counta+1)]
(if:$aid is 1)[
(set: $countb to $countb+1)]
(if:$aid is 2)[
(set: $countc to $countc+1)]
</div>(set: $playerd to 0)
(set: $oldpoint to $pointnumber)
(if: $aid is 1)[(set: $points to $points+$oldpoint)]
(if: $aid is 2)[(set: $aspoints to $aspoints+$oldpoint)]
</style>
<img src="https://pbs.twimg.com/media/DzOJ2VqXQAAd3wz.jpg:large" width="550" height="400">
<img src="https://www.netclipart.com/pp/m/182-1828041_question-mark-png-question-mark-symbol.png" width="172" height="150">
(set: $aipoints to $oldpoint)
AI Total: $aspoints
(set: $pointnumber = Math.floor(Math.random() * 10) + 6)
(set: $count to $count+1)
Round $count Points: $pointnumber
Your Total: $points
(set:$countr to $countr-1)
(if:$countr is 0)[
<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/rock--left.png" width="150" height="150">x$countr]
(elseif: $countr>0)[[[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/rock--left.png" width="150" height="150">->r]]x$countr]
(if:$counts is 0)[
<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/scissors--left.png" width="150" height="150">x$counts ]
(elseif:$counts>0)[[[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/scissors--left.png" width="150" height="150">->s]]x$counts]
(if:$countp is 0 )[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/paper--left.png" width="150" height="150"> x $countp]
(elseif:$countp>0)[[[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/paper--left.png" width="150" height="150">->p]]x$countp]
(if:$countr is 0 and $counts is 0 and $countp is 0)[
[[Finish the Battle]]]
(if:$counta <3 and $countb<3 and $countc<3)[
(set: $aid to (either:0, 1, 2))]
(if: $counta is 3 and $countb is 3)[
(set: $aid to 2)]
(if: $countb is 3 and $countc is 3)[
(set: $aid to 0)]
(if: $counta is 3 and $countc is 3)[
(set: $aid to 1)]
(elseif: $counta is 3)[
(set: $aid to (either:1, 2))]
(elseif: $countb is 3)[
(set: $aid to (either:0, 2))]
(elseif: $countc is 3)[
(set: $aid to (either:1, 0))]
(if:$aid is 0)[
(set: $counta to $counta+1)]
(if:$aid is 1)[
(set: $countb to $countb+1)]
(if:$aid is 2)[
(set: $countc to $countc+1)]
</div>(set: $playerd to 1)
(set: $oldpoint to $pointnumber)
(if: $aid is 2)[(set: $points to $points+$oldpoint)]
(if: $aid is 0)[(set: $aspoints to $aspoints+$oldpoint)]
</style>
<img src="https://pbs.twimg.com/media/DzOJ2VqXQAAd3wz.jpg:large" width="550" height="400">
<img src="https://www.netclipart.com/pp/m/182-1828041_question-mark-png-question-mark-symbol.png" width="172" height="150">
AI Total: $aspoints
(set: $pointnumber = Math.floor(Math.random() * 10) + 6)
(set: $count to $count+1)
Round $count Points: $pointnumber
Your Total: $points
(if:$countr is 0)[
<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/rock--left.png" width="150" height="150">x$countr]
(elseif: $countr>0)[[[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/rock--left.png" width="150" height="150">->r]]x$countr]
(set:$counts to $counts-1)
(if:$counts is 0)[
<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/scissors--left.png" width="150" height="150">x$counts ]
(elseif:$counts>0)[[[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/scissors--left.png" width="150" height="150">->s]]x$counts]
(if:$countp is 0 )[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/paper--left.png" width="150" height="150"> x $countp]
(elseif:$countp>0)[[[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/paper--left.png" width="150" height="150">->p]]x$countp]
(if:$countr is 0 and $counts is 0 and $countp is 0)[
[[Finish the Battle]]]
(if:$counta <3 and $countb<3 and $countc<3)[
(set: $aid to (either:0, 1, 2))]
(if: $counta is 3 and $countb is 3)[
(set: $aid to 2)]
(if: $countb is 3 and $countc is 3)[
(set: $aid to 0)]
(if: $counta is 3 and $countc is 3)[
(set: $aid to 1)]
(elseif: $counta is 3)[
(set: $aid to (either:1, 2))]
(elseif: $countb is 3)[
(set: $aid to (either:0, 2))]
(elseif: $countc is 3)[
(set: $aid to (either:1, 0))]
(if:$aid is 0)[
(set: $counta to $counta+1)]
(if:$aid is 1)[
(set: $countb to $countb+1)]
(if:$aid is 2)[
(set: $countc to $countc+1)]
</div>(set: $playerd to 2)
(set: $oldpoint to $pointnumber)
(if: $aid is 0)[(set: $points to $points+$oldpoint)]
(if: $aid is 1)[(set: $aspoints to $aspoints+$oldpoint)]
</style>
<img src="https://pbs.twimg.com/media/DzOJ2VqXQAAd3wz.jpg:large" width="550" height="400">
<img src="https://www.netclipart.com/pp/m/182-1828041_question-mark-png-question-mark-symbol.png" width="172" height="150">
AI Total: $aspoints
(set: $pointnumber = Math.floor(Math.random() * 10) + 6)
(set: $count to $count+1)
Round $count Points: $pointnumber
Your Total: $points
(if:$countr is 0)[
<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/rock--left.png" width="150" height="150">x$countr]
(elseif: $countr>0)[[[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/rock--left.png" width="150" height="150">->r]]x$countr]
(if:$counts is 0)[
<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/scissors--left.png" width="150" height="150">x$counts ]
(elseif:$counts>0)[[[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/scissors--left.png" width="150" height="150">->s]]x$counts]
(set:$countp to $countp-1)
(if:$countp is 0 )[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/paper--left.png" width="150" height="150"> x $countp]
(elseif:$countp>0)[[[<img src="https://www3.bostonglobe.com//rw/Boston/2011-2020/WebGraphics/Metro/BostonGlobe.com/2018/05/rockpaperscissors/assets/paper--left.png" width="150" height="150">->p]]x$countp]
(if:$countr is 0 and $counts is 0 and $countp is 0)[
[[Finish the Battle]]]
(if:$counta <3 and $countb<3 and $countc<3)[
(set: $aid to (either:0, 1, 2))]
(if: $counta is 3 and $countb is 3)[
(set: $aid to 2)]
(if: $countb is 3 and $countc is 3)[
(set: $aid to 0)]
(if: $counta is 3 and $countc is 3)[
(set: $aid to 1)]
(elseif: $counta is 3)[
(set: $aid to (either:1, 2))]
(elseif: $countb is 3)[
(set: $aid to (either:0, 2))]
(elseif: $countc is 3)[
(set: $aid to (either:1, 0))]
(if:$aid is 0)[
(set: $counta to $counta+1)]
(if:$aid is 1)[
(set: $countb to $countb+1)]
(if:$aid is 2)[
(set: $countc to $countc+1)]
</div>(if: $points>47)[
YOU LOSE!!!]
(if:$aspoints>47)[
YOU WIN!!!]
(if: $aspoints>$points and $aspoints<47)[
YOU LOSE!!!]
(if: $aspoints<$points and $points<47)[
YOU WIN!!!]
[[replay->Start!]]
[[replay->Start!]]
[[replay->Start!]]
[[replay->Start!]]
[[replay->Start!]]