User Tools

Site Tools


pygame_terminal

This is an old revision of the document!


PyGame Terminal

This is a version of a common type of starter program I use for many projects.

It requires PyGame.

The basic idea is that there will be a visible representation of an IBM PC VGA terminal, a DEC VT100 style character set, and so forth. It is a common starting program to replicate any of the BSDGAMES such as Robots, Life, Hack, or any program that requires a portable terminal or where access to the console is not superconvenient (ex. when using an IDE).

There are four basic components:

  • main.py
  • game.py
  • window.py
  • the character set

Additionally a small logo can be used, but if you comment out the logo line it still works.

  • I use a few different ones depending on the situation. I find that the ones included here are some of the best and/or most useful.
  • Example Logo:
pygame_terminal.1695174797.txt.gz · Last modified: 2023/09/20 01:53 by appledog

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki