Brianxi / nbody

Simple N-body simulator game written with Python 2.7 and pygame

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nbody.py

Simple N-body simulator game written with Python 2.7 and pygame

Author: Louis Brown, KD4HSO

Directions:

  • Rouge earth is at center of system
  • LMB hold, drag, and release to launch new body into orbit
  • MMB hold for orbit persistance
  • RMB to quit
  • Game exits when earth leaves system

Notes:

I wrote this game to learn about object oriented programming.

The physics portion was learnt in the Udacity CS222 course.

About

Simple N-body simulator game written with Python 2.7 and pygame

License:GNU General Public License v3.0


Languages

Language:Python 100.0%