讲解:Counter Magic、Python,Javascript、JavaR| Statistics、

Counter MagicDescription:In this mini project we will give you a small Android App called “Counter magic” (APK file). You first install it on your mobile device, it works as a client, and can send variousHTTP requests and receive responses from the server to make app functions workproperly. Your work is to implement various server functions to correctly handle theserequests.Detailed Requirements:1, You are free to use any popular server-side programming languages. Preferred: PHP,Python or Javascript (Node.js).2, The purpose of the project is to implement actual server functions, so you can useother tools to establish the HTTP server (for example, Apache) if you need. A localHTTP server is enough, as on the client app you can choose to use any server address.3, Along with all source code, you also need to submit a Readme file (TXT, DOC or PDF).It includes anything you think is important for us to evaluate your work. One criticalpart of the Readme is telling us how to setup your server and test it with the client app.Functions you have to implement:1, User verification. When first start the client app, it needs a user account to login.Your server will need to properly respond the client’s login request (in JSON format) atthe url: /login, whether the username exists, whether the passwordis correct, or other situations;The response should also be a JCounter Magic作业代做、代写Python,Javascript编程作业、代做Java实验作业 代写R语言编程SON formatted string, in the following format:{ “result”: “Success”, “info”: {“user”: {“id”: “…”, name: “…”},“character”: {“gender”: ”…”, “class”: “…”} }}Or:{ “result”: “Failed”, “info”: “some descriptions about the reason”}The default user is:Username: SamPassword: 1234Character.gerder: MaleCharacter.class: Human2, Once login successfully, your server will have to perform a special task called“Counter Magic”, the goal is to counter the magic words of the evil wizard and defeathim (for example, when the evil wizard says “black”, you should say “white” to counterit). Please refer to the client menu to get the clue of what are the basic counter words.This time the client will use HTTP GET method to send evil wizard’s magic words at theurl: /counter, and your response should be in JSON format, as follows:{ “counter”: [“word1”, “word2”, “word3”], “number”: 3}Optional:1, create a simple database to store user information, including id, username,password, character_gender, character_class. Every time when youreceived the client login request, you will retrieve information from the database andsend back;2, defeat the evil wizard with full health;How to submit:Please zip all your source code, essential build files, and Readme file, name the zip fileas “Xyken_Server01_.zip”,转自:http://www.3daixie.com/contents/11/3444.html

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容