Skip to content

A coding example/lesson for creating a solar system simulation using python3 and pygame.

Notifications You must be signed in to change notification settings

scottfridwin/pygame-solarsystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

solar-system-basic

Contains a pygame project for creating a solar system simulation. Intended to be used as a coding lesson and divided into different directories with different levels of 'completed' code.

boilerplate

The lowest level of completed code. Contains some basic boilerplate code and pseudo-code comments that need to be replaced.

basic

The basic implementation of the simulation. This code is ready-to-run with a very simple display of an 'Earth' body orbiting a 'Sun' body.

Requirements

dev container

When running this code in a vs code dev container, an x-server application running on the host machine, such as https://sourceforge.net/projects/xming/ See https://medium.com/@rndonovan1/running-pygame-gui-in-a-docker-container-on-windows-cc587d99f473 for recommendations

About

A coding example/lesson for creating a solar system simulation using python3 and pygame.

Topics

Resources

Stars

Watchers

Forks

Languages