Skip to content

Balls bouncing on a board according to the laws of mechanics

Notifications You must be signed in to change notification settings

Sahand1993/BouncingBalls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BouncingBalls

A simulation of balls bouncing around on a board. Written for python 3.

Running

  • Make sure you have pygame and numpy installed (pip3 install numpy; pip3 install pygame)
  • Run with python3 visual.py
  • Enter f for fullscreen, as instructed.
  • Press space to start game.
  • Use arrow keys to move the purple ball
  • Press esc to exit.

About

Balls bouncing on a board according to the laws of mechanics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages