WALK_1D.BAS July 1997 by Marc Kummel aka Treebeard. Contact mkummel@rain.org, http://www.rain.org/~mkummel/ About Walk_1D: --------------- WALK_1D is a small DOS Basic program that simulates random walks in one dimension. Flip a coin and turn left or right depending on the outcome. How long does it take to travel a certain distance? Realtime graphs show the walks and the results. This was a quickie that I wrote for part of Zach Eichert's Science Fair project at school (1994). Unzip the archive into a directory, and type WALK_1D to run. It works well in a Win3.1 window. (A PIF and generic icon are provided.) File list: ------------ The files below the dotted line are source files that can be deleted if you like. WALK_1D.BAS will not run as is with the QBasic interpreter since it uses an interrupt to scroll the screen. Start BASIC with /l to load the default interrupt library to use the source code. WALK_1D.EXE DOS executable for x286 or better WALK_1D.ICO a generic icon for Win3.1 WALK_1D.PIF Win31 pif file, works well in a window README.TXT this file TBVAULT.TXT about Treebeard's Basic Vault ------------ WALK_1D.BAS Basic source code Conditions: ------------- This program and source code are yours to use and modify as you will, but they are offered as freeware with no warranty whatsoever. Give me credit, but do not distribute any changes under my name, or attribute such changes to me in any way. You're on your own! Send comments and fixes to: Marc Kummel aka Treebeard mkummel@rain.org http://www.rain.org/~mkummel/ For more interesting Basic software with source code, check out Treebeard's Basic Vault at http://www.rain.org/~mkummel/basic/