Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. How to develop a game using implement the api

How to develop a game using implement the api

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
jsongame-devdata-structuresarchitecturetutorial
2 Posts 2 Posters 9 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    piumini sakunthala
    wrote on last edited by
    #1

    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

    L 1 Reply Last reply
    0
    • P piumini sakunthala

      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

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Is this supposed to be a question or a statement of intent? I have deleted your reposts of this question; please do not spam the forums.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups