Find Jobs
Hire Freelancers

Java project for HTTP-based mini game

₹1500-12500 INR

Closed
Posted about 5 years ago

₹1500-12500 INR

Paid on delivery
1 Things to take into count ● The code structure ● Consideration of concurrency issues ● The design ● Choice of data structures ● Quality and use of unit tests 2 Description Write a HTTP-based mini game back-end in Java which registers game scores for different users and levels, with the capability to return high score lists per level. There shall also be a simple login system in place (without any authentication...). Deliver a zip file containing: ● The code in the src-folder ● A compiled version in a executable .jar file in the root folder ● An optional [login to view URL] or .pdf with thoughts and considerations around the program 3 Nonfunctional requirements ● This server will be handling a lot of simultaneous requests, so make good use of the availablememory and CPU, while not compromising readability or integrity of the data. ● Do not use any external frameworks, except for testing. For HTTP, use com.sun.net.httpserver.HttpServer. ● There is no need for persistence to disk, the application shall be able to run for any foreseeable future without crashing anyway. 4 Functional requirements The functions are described in detail below and the notation <value> means a call parameter value or a return value. All calls shall result in the HTTP status code 200, unless when something goes wrong, where anything but 200 must be returned. Numbers parameters and return values are sent in decimal ASCII representation as expected (ie no binary format). Users and levels are created “ad-hoc”, the first time they are referenced. 4.1 Login This function returns a session key in the form of a string (without spaces or “strange” characters) which shall be valid for use with the other functions for 10 minutes. The session keys should be “reasonably unique”. Request: GET /<userid>/login Response: <sessionkey> <userid> : 31 bit unsigned integer number <sessionkey> : A string representing session (valid for 10 minutes). Example: http://localhost:8081/4711/login --> UICSNDK 4.2 Post a user's score to a level This method can be called several times per user and level and does not return anything. Only requests with valid session keys shall be processed. Request: POST /<levelid>/score?sessionkey=<sessionkey> Request body: <score> Response: (nothing) <levelid> : 31 bit unsigned integer number <sessionkey> : A session key string retrieved from the login function. <score> : 31 bit unsigned integer numberExample: POST http://localhost:8081/2/score?sessionkey=UICSNDK (with the post body: 1500) 4.3 Get a high score list for a level Retrieves the high scores for a specific level. The result is a comma separated list in descending score order. Because of memory reasons no more than 15 scores are to be returned for each level. Only the highest score counts. ie: an user id can only appear at most once in the list. If a user hasn't submitted a score for the level, no score is present for that user. A request for a high score list of a level without any scores submitted shall be an empty string. Request: GET /<levelid>/highscorelist Response: CSV of <userid>=<score> <levelid> : 31 bit unsigned integer number <score> : 31 bit unsigned integer number <userid> : 31 bit unsigned integer number Example: http://localhost:8081/2/highscorelist - > 4711=1500,131=1220
Project ID: 19278917

About the project

9 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
9 freelancers are bidding on average ₹8,561 INR for this job
User Avatar
Hi I'm an expert in java programming. I'm sure that I can easily do this project. We can have a about it. Thanks..
₹14,444 INR in 5 days
4.9 (347 reviews)
7.4
7.4
User Avatar
Hi I am senior java developer and i am very interested in your project. I have more than 5 years of working in java enterprise company. I have good understanding about java spring hibernate for backend and also angular js/bootstrap for frontend, so that I can provide you end to end solution. I have experience when setup the CI CD workflow using jenkins. I am also certified AWS Solution Architect Here is my freelancer profile https://www.freelancer.com/u/quanlitysource?w=f Please discuss more via pm. Looking for your reply
₹7,777 INR in 3 days
4.9 (92 reviews)
5.9
5.9
User Avatar
I have been working as a full stack web developer for over 5 years. I am highly skilled in Web and App so I feel confident that I can do your job without fail. I can start working right now and I will guarantee the quality of code and keep the timeline as well. If you are willing to work with me, please contact me. Regards.
₹7,777 INR in 3 days
4.6 (12 reviews)
5.0
5.0
User Avatar
HI, I have 8 yrs of exp in java and related technologies. I have worked a lot with HTTP rest webservices. Assuming you need 4.1, 4.2 and 4.3 implemented only development wise. I am sure I can do your job. All my previous projects had 5/5 ratings so you can trust me. Atleast have a chat before awarding to someone else I am sure we can work out a deal. Looking forward to talk you
₹3,555 INR in 3 days
4.7 (43 reviews)
4.8
4.8
User Avatar
hello i am software engineer with 4 years of experience. i do have good knowledge on java, api. rest, soap. I can implement your requirement with quality and deliver it accordingly. thanks
₹11,111 INR in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
Hyderabad, India
4.7
16
Payment method verified
Member since May 12, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.