Im having errors in my code i cant fix because im new to python

How to fix these errors? I learn pygame from documentations but i tryed to follow the code they have given and it worked. So I tryed another one but there alot of errors.

https://replit.com/@20navya12/Python#space_rocks/models.py
https://replit.com/@20navya12/Python#space_rocks/game.py

Screenshot 2024-01-15 113533
Screenshot 2024-01-15 113510


Screenshot 2024-01-15 113704

https://replit.com/@20navya12/Python#game/hello.py



Screenshot 2024-01-15 115743