Skip to content

The Chrome Dinosaur 🦖 Game in build with Pygame in Python.

Notifications You must be signed in to change notification settings

xmoonanx/Team2_DinosaurGame_w

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Team2_DinosaurGame

The Chrome Dinosaur 🦖 Game in build with Pygame in Python.

Request


Method URL Data Format Description
POST /user/v1/data json push user's point data
POST /user/v1/info json receive user's rank data in descending order
POST /user/v1/rank json receive the top 5 rank points

Response


Method URL Data Format
POST /user/v1/data json
POST /user/v1/info json/array
POST /user/v1/rank json

Success Response


  • Response Code: 200
  • Content:
/user/v1/data, /user/v1/info
{ "Message": array }
--
/user/v1/rank
{ "Args": double-dimensional array, "Count": integer, "Message": boolean }

Error Response


  • Response Code: 401 UNAUTHORIZED
  • Content:
{ "Message": "Invalid Contents." }

  • Response Code: 422 UNPROCESSABLE ENTRY
  • Content:
{ "Message": "Please Check Your Data sets again." }

About

The Chrome Dinosaur 🦖 Game in build with Pygame in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • C 0.5%
  • JavaScript 0.1%
  • CSS 0.1%
  • Shell 0.0%
  • PowerShell 0.0%