The document contains a Python code for a game developed in CMU CS Academy, featuring a rocket that can move and shoot bullets at ghosts. The game includes functionalities such as scoring points for hitting ghosts, displaying a win message, and managing the positions of various game elements. The code also incorporates random ghost generation and handles user input for controlling the rocket's movement and shooting actions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
21 views3 pages
CSP CPT Code
The document contains a Python code for a game developed in CMU CS Academy, featuring a rocket that can move and shoot bullets at ghosts. The game includes functionalities such as scoring points for hitting ghosts, displaying a win message, and managing the positions of various game elements. The code also incorporates random ghost generation and handles user input for controlling the rocket's movement and shooting actions.