Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
# 1D Collision Simulator A Python game simulating elastic collisions, built with Pygame for Code in Place. ## How to Run 1. Install Python 3.12 and Pygame (`pip install pygame`). 2. Clone this repository: `git clone https://github.com/DanielaCode/` 3. Run `python Game.py`. 4. Enter speeds and masses to start the simulation. ## Controls - P: Pause/resume - S: Stop and restart - R: Restart - Q: Quit