Simple Math game (Place Value)

hi, :q:

please help me know the structure of statements being implemented in this simple mini"math game"?, , ,

like what method should I do. . ., some “if else” etc…

http://www.free-training-tutorial.com/place-value/clickthedigit.html

we are currently in our thesis study and any ideas will be a very very great help. :slight_smile: Thanks in Advance :slight_smile: