Skip to content

Repository files navigation

Cannonball - A Pygame Project

How to use:

  1. Make sure that your device runs Windows 11
  2. Download files
  3. Open "main.exe"

Specs:

  • Python v3.11.4
  • Pygame v2.5.0
  • Pip v23.1.2
  • Compiled with Pyinstaller v5.13.0
  • Setuptools v65.5.0
  • Designed for Windows 11, but may work in other platforms

This is an app designed to simulate the forces and kinematics of a cannonball being launched from a cannon, assuming no air resistance and that the coeffcient of friction is 0. In addition, force is similar to a gun, where force is applied until the cannonball exits the barrel.

How it works:

  1. Adjust the sliders in order to simualte different independent variables.
  2. Press [SPACE] in order to launch the cannonball.
  3. Track the behavior of the cannonball using graphics and given data.
  4. Wait 20 seconds or press [R] to restart.

More features may be added in the future. For feedback or comments, please email: liaiden3918@gmail.com

Citations: Background (black and white): desmos.com All sound effects from Pixabay All other assets were created by me

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages