/Cross-Fire

"Cross Fire" is a game write in pygame

Primary LanguagePython

Cross-Fire

"Cross Fire" is a game write in pygame

Game manipulation

How to play?

the plane:  
●↑:turn up  
●↓: turn down  
●←: turn right  
●→: turn left  
the dragon:  
Press the keyboard B  
If a dragon hits a bulletDragon will die.If dragons encounter enemiesThe enemy will die. 
Press the keyboard Esc can exit the game  

install import

pip install pygame
Note that the code should be saved in the same path as the picture and music, or pygame will report an error

Example

step1:code is saved in the same path as the picture and music.
step2:Run the code
image Next you can play the game!!!
image Press the keyboard Esc,exit the game.
image