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.
- Host: GitHub
- URL: https://github.com/thecodetherapy/pygamelines
- Owner: TheCodeTherapy
- Created: 2017-11-17T07:50:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-19T14:25:10.000Z (about 8 years ago)
- Last Synced: 2025-01-08T11:49:28.217Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.

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.