Skip to content

msolive1985/Python-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

This code creates a simple game where the player (represented by a yellow circle) can be moved with the arrow keys, while an enemy (represented by a red circle) moves towards the player. If the player and enemy collide, the game ends.

Pygame is used to create the game screen and handle events, while Numpy is used for vector operations to move the player and enemy and check for collision.

About

Samples of python code to add to my repository.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages