ack/examples
George Koehler 43458df777 Build a smaller startrek for CP/M.
The game was larger than the 64K address space.  I remove the intro
and replace part of libc.  Now I can play startrek in YAZE-AG.
2018-05-04 18:32:24 -04:00
..
build.lua Use ack -mcpm -fp for mandelbrot.c, startrek.c 2018-04-28 13:18:27 -04:00
hilo.b Add a B version of the hilo program. 2016-12-29 17:20:51 +00:00
hilo.bas
hilo.c
hilo.mod
hilo.ocm
hilo.p Change readstring() to use buffered input. 2018-05-04 18:06:51 -04:00
mandelbrot.c
paranoia.c
README
startrek.c Build a smaller startrek for CP/M. 2018-05-04 18:32:24 -04:00
startrek.doc

# $Source$
# $State$
# $Revision$

A few notes on the examples
---------------------------

This directory contains a handful of working example programs that can be
built with the ACK. They're intended as a convenient source of test code
and as a starting point when writing your own programs.

They consist of:

hilo.c             ANSI C version of the Hi/Lo game
hilo.b             Basic version of the Hi/Lo game
hilo.mod           Modula-2 version of the Hi/Lo game
hilo.ocm           Occam 1 version of the Hi/Lo game
hilo.p             Pascal version of the Hi/Lo game

mandelbrot.c       A simple Mandelbrot generator, using floating-point maths
paranoia.c         An ancient public domain K&R C adventure game
startrek.c         An even more ancient public domain ANSI C game
                     (uses the FPU for distance calculation)
startrek.doc       Manual for above (plus in current directory when running)

Enjoy.

(startrek.c was written by David Ahl and converted to C by Chris Nystrom. See
http://www.cactus.org/%7Enystrom/startrek.html for more info.)

David Given
dg@cowlark.com
2007-02-25