Find Jobs
Hire Freelancers

Java project for HTTP-based mini game

₹1500-12500 INR

Cerrado
Publicado hace alrededor de 5 años

₹1500-12500 INR

Pagado a la entrega
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
ID del proyecto: 19278917

Información sobre el proyecto

9 propuestas
Proyecto remoto
Activo hace 5 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
9 freelancers están ofertando un promedio de ₹8.561 INR por este trabajo
Avatar del usuario
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 en 5 días
4,9 (347 comentarios)
7,4
7,4
Avatar del usuario
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 en 3 días
4,9 (92 comentarios)
5,9
5,9
Avatar del usuario
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 en 3 días
4,6 (12 comentarios)
5,0
5,0
Avatar del usuario
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 en 3 días
4,7 (43 comentarios)
4,8
4,8
Avatar del usuario
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 en 3 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de INDIA
Hyderabad, India
4,7
16
Forma de pago verificada
Miembro desde may 12, 2015

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.