hi, I am looking for someone to complete an assignment for me (or my role in it at least, as it is a group project). The criteria is as follows:
I am in charge of doing the walls of the program, the boundaries to which the car cannot cross. It is first person perspective
for example:
/ \
/ \
/ \
It must turn left and right, be randomnised and be infinite.
Text-Based Pole Position. Without using graphics, write a text-based program
that consists of driving a vehicle in a coaster road of constant width, where the
vehicle is in the form of a first-person perspective. The program reads from the
keyboard four control keys as follows: ‘I’ for accelerating, ‘K’ for breaking, ‘J’ for
turning left, and ‘L’ for turning right. If the vehicle touches the shoulders of the
road the game stops and displays a message notifying the player that he or she
has one more chance before it is game over. The program terminates when the
player touches the shoulders of the road for a second time or when they enter
the key ‘Q’ (or ‘Ctrl-X’). The player gets points for every second they play. The
program keeps a file with the top 10 scores; at the end of the game if a player
makes it to the top 10 then the program prompts the player for their name and
records the score in the file. At the end of the game the program displays the top
10 scores along with the corresponding record holders’ names. To run the
program the user should type pp <file_name>, where file_name is the file
containing the top 10 scores.
I require commenting in the code as well. Would you be able to complete this assignment? Please let me know, thank you. I need this done ASAP.