Quantcast
Channel: Answers by "schwertfisch"
Viewing all articles
Browse latest Browse all 18

Answer by schwertfisch

$
0
0
you could define a variable, that's the number of diamonds. You'll have to check this number everytime a player makes a move. So, everytime a player makes a move, a function to check the number of diamonds will be called like so: var diamondsNumber: int; function CheckNumberOfDiamonds(){ if (diamondsNumber==0){ //show the "game over" panel }

Viewing all articles
Browse latest Browse all 18


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>