Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please in the parts that are with comments like this //. Could anyone help me wi

ID: 3825301 • Letter: P

Question

Please in the parts that are with comments like this //. Could anyone help me with some coding? I don't know what to put in there, but just for giving some ideas, it is a lunar lander video game, that is written in C code, no java no C++ or any other language, just C programming. Anyone that could actually help me with this? I would be more than thankful, and please don't copy the comments and paste it, I had someone that did this to me before....I actually need help with codes in the comments...

void draw halLCdClear Scree n drawship draw Guages draw Surface int check if Landed y and x velocity between 0 and somet angle at pi/2) located in L2 int ed t at ground AND: velocity above safe value angle not pi 2 int check ifout of Fuel if (fuel 0 return 1 else return 0: void statuscheck checkifLanded check speed and angle against a safe range, and height (y) set x and y velocity to 0 count landings (remove current LZ from list check ed check ifoutofFuel if out of fuel and either (landed or chrashed) the end void refresh status Check draw calculate

Explanation / Answer

lunar-lander.c: