Find Jobs
Hire Freelancers

Java project for HTTP-based mini game

₹1500-12500 INR

Avslutat
Publicerad ungefär fem år sedan

₹1500-12500 INR

Betalning vid leverans
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

Om projektet

9 anbud
Distansprojekt
Senaste aktivitet fem år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
9 frilansar lägger i genomsnitt anbud på ₹8 561 INR för detta uppdrag
Använd 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 Om 5 dagar
4,9 (347 omdömen)
7,4
7,4
Använd 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 Om 3 dagar
4,9 (92 omdömen)
5,9
5,9
Använd 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 Om 3 dagar
4,6 (12 omdömen)
5,0
5,0
Använd 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 Om 3 dagar
4,7 (43 omdömen)
4,8
4,8
Använd 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 Om 3 dagar
0,0 (0 omdömen)
0,0
0,0

Om kunden

Flagga för INDIA
Hyderabad, India
4,7
16
Verifierad betalningsmetod
Medlem sedan maj 12, 2015

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.