A word finder server, similar to what you had to interact with for Project #1, but this time, you will be handling the request with additional functionality.
1-Starting a contest: an user must start a contest, before requesting a letter, with a url such as : http://localhost:8080/newcontest. The response to newcontest, will return a random number ranging between 1-1000, that will be used for subsequent request as contestid. You must make sure, you do not used a contest id which is currently in used.
For each subsequent request to the server, the contestid must be specified on the url.
For each contest, a 120 seconds timer countdown must be started. When 0 is reached, subsequent request will be returned the status code HttpServletResponse.SC_GONE.
2-Accessing a letter: to access a letter at a specific location: http://localhost:8080//wordfinder?contest=<contest id received as response to newcontest>&game=<1 to 3>&pos=<column><row>
contest:the contest id receives in newcontest.
game:1-3
Column: a-e
Row: 1-5
If the user submits a request, with an invalid contest id, game or pos, you must responded with the status code: response.SC_BAD_REQUEST.
3-Submitting a solution: to submit a solution for a game, you must do it in the contact of a contest, a specific url is used: http://localhost:8080//solution?contest=<contest id received as response to newcontest>&game=<1 to 3>&solution=<word>
contest:the contest id receives in newcontest.
game:1-3
solution: the word which is the solution
If a submission is valid, SC_OK is returned and in the html text, the number of seconds it took to resolve the game and also, how many letters were requested.
If a submission is invalid for a game, the contest id must be considered invalid, and further request using this contest id should return response.SC_BAD_REQUEST.
For a valid submission, you must keep the top score (see #4).
The solutions must be:
Game 1: position A1:A3, solution: zap
Game 2: position E3:E5, solution: zig
Game 3: position C2:C4, solution: zag
4-Top Score: the url : https:// localhost:8080/topscore, will return in descending order the list of the 5 fastest time to resolve any game.
Output:
contest id, time in seconds
5-Word list: the url https:// localhost:8080/words, will return this list of words:
zap
zep
zip
zag
zig
6-Unit tests:
you must provide individual unit tests for each items that you must test:
-validation that the word list is correct
-validation of starting a new contest
-validation of requesting for a letter (valid and invalid values for each parameter and combination).
-validation of the timeout process for a contest (see [login to view URL])
-validation of submitting a solution (valid and invalid submission + management of the contest)
-validation of the top score
Sir, I have gone through your project description and am looking to provide my service for java project work. Please leave a message on my chat so we can discuss the budget and deadline of the project. For more than 7 years I’ve worked in this field.
Recently done projects on java
https://www.freelancer.com/projects/java/Operating-system-CPU-scheduler-memory/
https://www.freelancer.com/projects/java/Java-Code-with-JSon-file
https://www.freelancer.com/projects/java/Build-sketch-edit-the-one
https://www.freelancer.com/projects/java/simple-word-counter-java-programm
https://www.freelancer.com/projects/java/Java-Coding-Work
https://www.freelancer.com/projects/javascript/API-call-Java/
https://www.freelancer.com/projects/php/Simple-java-code-17466056/
https://www.freelancer.com/projects/software-architecture/java-program-writer/
https://www.freelancer.com/projects/java/Dynamic-modelling-report-for-project
$50 USD in 2 days
4.8 (88 reviews)
6.2
6.2
8 freelancers are bidding on average $118 USD for this job
Hi Friend,
I have huge experience in java development and I am expert in Game development. I reviewed your attached assignment and it's looking good to me and I would like to discuss further with you.
Thanks,
You ask me any type of question regarding to JAVA OPP.
Please see recent review regarding JAVA
https://www.freelancer.in/projects/software-architecture/Simple-simulator-stock-market-OODP/reviews
https://www.freelancer.in/projects/java/Java-developer-for-setup-java/reviews
https://www.freelancer.in/projects/java/JAVA-CRUD-Functionality-Project-24383437/reviews
I am Electrical Engineer, I have experience of 7 years in Java, C++, spring java, Webservices, SQL, apache CXF, hibernate, mirth connect and Electrical industries. I will do the work for you in a very good and elegant manner, assign it to me and I will deliver it very quick
Don't give any payment until you satisfied.i will give you an update after every 24 hours.
Hi,
I have read your description, and I think there's no other person who is more ready to make this project for you.
Send me a message now so we can start as quickly as possible!
I got more than 4 years of experience in the field, and my number one goal is to make you satisfied.
Hello,
I've read your description carefully and I am interested in your project.
I have rich experience in these fields.
I am working in these fields for 3 years, so I have enough confidence with these kinds of projects.
If you hire me, I will do my best so that I can satisfy you.
I will be looking forward to hearing from you.
Best regards.
Skills: Django and Python, Laravel, MySQL , Java, CSS, HTML