Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 439 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 439 Bytes

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.