Example programs. By Lee Davison. |
The programsHere are some example programs that can be run under EhBASIC. They don't rely on any specific hardware and only need ASCII I/O to run properly.
Many of these programs are not original and, where the source is known, copyright messages have been included or left in place.
Additions, comments and suggestions always welcome. Enjoy.
Program Description HTML page Zipped source hello.bas Classic 'hello world' program View sine.bas Draws a sine curve down the display View sincos.bas Draws two curves down the display View Download eliza.bas AI psychiatrist View Download startrek.bas Classic 'Kill the Klingons' View Download amazing.bas Generate random 2D mazes View Download More to come ..
Last page update: 29th January, 2005. | e-mail me |