Question: Part 3 : Implement list.cpp You will be implementing the List class from list.h it uses the linked list data structure to build a list
Part : Implement list.cpp
You will be implementing the List class from list.hit uses the linked list data structure
to build a list of PointDs which for all intents and purposes you can pretend are
ints The comments in list.cpp should guide you through the process.
You can test that your implementation is correct by running make linkedListTests
and running the resulting linkedListTests program.
Part : Play snake with the fruits of your labor
This part is also optional, but fun!
After you get your List class working and passing all the tests, you can play the snake
game that I implemented in snake.cpp Compile with make snake. The game uses a
List to keep track of where all the pieces of the snakes body are. My code isnt the
cleanest, but Id be happy to explain it to you in office hours if youd like!
Its technically not a complete game, since the snake is allowed move on top of itself,
etc.can you fix that?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
