An open API service indexing awesome lists of open source software.

https://github.com/thecodetherapy/pygamelines

A simplistic graphical "toy" written with PyGame to remember my good old days programming Applesoft's BASIC when I was a kid.
https://github.com/thecodetherapy/pygamelines

Last synced: about 1 year ago
JSON representation

A simplistic graphical "toy" written with PyGame to remember my good old days programming Applesoft's BASIC when I was a kid.

Awesome Lists containing this project

README

          

# PyGameLines

This is a simple graphical "toy" that I wrote to teach my son a little bit about programming logic, and also to remember (in a nostalgic sense) the first programs I wrote in my life when I was his age (10 years old, programming Applesoft's BASIC on my first computer, an Apple IIe).

It uses PyGame lib and the array of lines it draws can be controlled with the 3 mouse buttons.

![](http://mgz.me/blog/wp-content/uploads/2017/11/lines.gif)

Right button: delete a line from the line arrays
Middle button: wait for pygame.event so the next frame can be drawn
Left button: adds a new line to the lines array, and also make the closest point of the first line to follow the mouse cursor

Mouse cursor needs to be focused so you can interact with the lines.