How to develop a game using implement the api
-
Quote:
In this game you can develop whatever technologies. But you want to implement smile API. Smile API just provide image and Solutions(Solution always come 1-9 Numbers ). image have simple maths quiz. Every Time you call smile API ,Image and solution will be change. You can do like quiz application. You want to validate that solution with user's answer. You want to add this 3 components in this game 1.Software architecture- it's like model view controller, clean Architecture 2.even driven architecture- it's like GUI (login, Register)and buttons. 3.Interoperability - it's mean Use Smile Api And you can get extra marks for Extra features. Question is the image .API response should be the solution.
Quote:
When the Login button is pressed, initialize the game and call the API .Send the HTTP Get Request using API .After Login starts GUI .When initialized the game appears the question . When the user answers the question, Solution becomes the API Response and passes the data to the JSON object .Validate the Solution with the user's answer .If the user's input is equal to the solution (calculation is correct) the user can go to the next level and increase the score and also call the API .
Quote:
When calling the API get the data and divide into the string variables .In this need JSON array() instead of JSON object
-
Quote:
In this game you can develop whatever technologies. But you want to implement smile API. Smile API just provide image and Solutions(Solution always come 1-9 Numbers ). image have simple maths quiz. Every Time you call smile API ,Image and solution will be change. You can do like quiz application. You want to validate that solution with user's answer. You want to add this 3 components in this game 1.Software architecture- it's like model view controller, clean Architecture 2.even driven architecture- it's like GUI (login, Register)and buttons. 3.Interoperability - it's mean Use Smile Api And you can get extra marks for Extra features. Question is the image .API response should be the solution.
Quote:
When the Login button is pressed, initialize the game and call the API .Send the HTTP Get Request using API .After Login starts GUI .When initialized the game appears the question . When the user answers the question, Solution becomes the API Response and passes the data to the JSON object .Validate the Solution with the user's answer .If the user's input is equal to the solution (calculation is correct) the user can go to the next level and increase the score and also call the API .
Quote:
When calling the API get the data and divide into the string variables .In this need JSON array() instead of JSON object