Description of this paper

Loading

Hey bro! This is a follow up from the HW7 assignment. The website-(Answered)

Description

Instant Solution ? Click "Buy button" to Download the solution File


Question

Hey bro! This is a follow up from the HW7 assignment. The website is here.

http://www.cs.arizona.edu/classes/cs337/spring16/hw07/api.html


The database for this code is still having problem. Because it is not returning the right message. For the new game, the database should be returning something like this,

{
"message": "new game created",
"data": {
"game_id": "5",
"opened_door": null,
"initial_selected": null,
"final_selected": null
}
}


However, the one that we have right now, the?"game_id" is always 0.

Additionally, the firstChoice and finalChoice are not returning the right thing. There are Fatal Errors returned and says problems were caused by some lines such as line 71 in db.php. Could you please help to fix this?


Furthermore, a test file has been uploaded.

http://www.cs.arizona.edu/classes/cs337/spring16/hw07/files/


As long as we pass all tests, we should be able to get a perfect score in this one.

I sincerely hope you could help. This is my last assignment. Thank you very much!

 

Paper#9209772 | Written in 27-Jul-2016

Price : $19
SiteLock