R Shiny Maths Games for a 6 Years Old
I have been looking at games to help my 6-year-old practise maths. There are definitely free apps and online resources. But I am never happy with their game design. Often it fails to keep my son engaged or it has too much game play but too little maths. It suddenly occurred to me that it should be very easy to build a game in R Shiny. This allows me to customise level of difficulty according to his progress and school curriculum. tailor the feedback to keep him engaged. For example he is very into Pokemon lately and in my app I can pick different GIF's for responding to the right or wrong answer. My son loves this very simple game. What's more, he is very inspired now to write his own game in the future. There are two core components within the server.R script: get_random_question(): randomly select numbers from a range and operations (+, -, x); calculate the true answer to the random question. verdict(): check user's input against the true answer. If correct (wrong), rando