it is not appropriate to give you code for your project if you are asked to write the code.
You need to start working on this and then ask for help if you require it.
You must decide this.
I showed resources and I did a similar project from those resources:
Start writing some code and make your vision a reality.
You will learn as you progress on this project.
Start by plotting simple projectile motion and build on that: