Have a look to Hangman-CPM, a C game for CP/M using XTerm
XTerm stands for "Cross-Terminal". It's a C library for CP/M. It handles different kinds of terminals for easy cursor positioning, colors (when available), and screen handling.
XTerm has been developed with HI-TECH C Compiler, but it has been written to be also source-level compatible with:
- gcc (all platforms)
- SAS/C 6.58 (for Amiga)
- VT52 (monochrome, no text effects)
- VT100 (monochrome)
- ANSI (colors)
- KayPro (monochrome)
- ADM-31 (monochrome)
- C128 (colors)
- Memotech (monochrome)
- Amstrad CPC 6128 / Zenith Z19 (monochrome)
- source - Source code in C
- xterm.h - Header file
- xterm.c - Implementation.
- termtest.c - Test for main functionalities