dtrg 293f34fa9b Flush stdout before prompting the user for input. 13 년 전
..
.distr 3a4147a37d Added the Mandelbrot generator. 17 년 전
README 3a4147a37d Added the Mandelbrot generator. 17 년 전
hilo.b 921c55968c Adapted to tell the user what language they were written in (because they're too similar!). Modified the Pascal implementation to work with our new syscall model. 17 년 전
hilo.c 921c55968c Adapted to tell the user what language they were written in (because they're too similar!). Modified the Pascal implementation to work with our new syscall model. 17 년 전
hilo.mod da6111328d Flush output stream before waiting for user input. 13 년 전
hilo.ocm 921c55968c Adapted to tell the user what language they were written in (because they're too similar!). Modified the Pascal implementation to work with our new syscall model. 17 년 전
hilo.p 921c55968c Adapted to tell the user what language they were written in (because they're too similar!). Modified the Pascal implementation to work with our new syscall model. 17 년 전
mandelbrot.c 3a4147a37d Added the Mandelbrot generator. 17 년 전
paranoia.c 681e2e0432 Added example programs. 17 년 전
startrek.c 293f34fa9b Flush stdout before prompting the user for input. 13 년 전
startrek.doc 9710c14c93 Added the 'Star Trek' example game. 17 년 전

README

# $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