For Netscape 4 , Internet Explorer 4 and up : Dominoes version 2.1 (June 2000)
For Netscape 3 , Internet Explorer 3 and down : Dominoes version 1 (June 1997)
You play against the computer.
The original version of this applet was chosen by
Gamelan
as one of the year's
best.
A somwhat whimsical but generally accurate model in two parts.
NEW: Amaze 1.0 7/12/01 (1441417 bytes)
Amaze is derived from an old MBasic program in Robert Ahl's Basic Games. This version not only draws mazes onscreen (a file option allows you to print them out) but allows you to solve them and counts your moves as you do. To make this as challenging as possible, you can limit visibility within the maze to as little as one square in each direction. Maze dimensions may be from 5 to 40 squares.
SpeedMines 1.0.1 6/28/98 (2362377 bytes)
An enhanced version of Minesweeper with AutoClear, FastClear, and SuggestMove functions. Bug reports & other comments appreciated.
FreeSpace 1.0.4 2/10/01 (2.48 Mb)
An improved version of the FreeCell solitaire game, with timer, move counter, takeback, save & load, other features. Just download the zip file, extract the files, and run setup.exe
You can also play the game on line in two (slightly less elaborate) versions: in VBScript and in JavaScript . In the latter, you have to click on buttons rather than cards. These implementations are for Internet Explorer only. Bug reports are always welcome.
Finrep 2.01; 2/2/01 ( finrep.zip 3k)
Many years ago I wrote a find/replace program in assembly language for CP/M, which I later transferred to DOS. In case you haven't tried, find/replace is one of the trickiest procedures to code; all kinds of niceties are required to find "foo" twice in "foofofoo."
But Windows Scripting uses a Perl-like Regular Expression engine, so instead of hundreds of lines of assembler (with an equivalent number of bugs), you can build a reliable find/replace program in a few dozen lines. Using RegExps, finrep will find/replace multiple strings in multiple files within the same directory. Since RegExps are tricky, finrep by default creates new files by adding "n" to the filename(s) of the file(s) modified; the way to use finrep is to work on a sample file until you like the results, then use the /x switch to modify the original file (the old file is saved by adding "bk" to the filename, erasing any previous ...bk file). Finrep doesn't offer the option of replacing on a case-by-case basis, but you can set the RegExp flags to replace a string either globally or only once.
Finrep is a Windows script file (.wsf) that runs directly under Windows; use the run command, double-click in Explorer, as for an exe file, or put an icon on your desktop. Finrep can be run in a DOS window with cscript.exe (syntax: cscript finrep.wsf <finrep commands>; in Windows contexts that don't recognize script files (e.g., in a command shell), run it with wscript.exe .
The zip contains a file with these instructions; for documentation on regular expressions, one useful source is http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/js56reconIntroductionToRegularExpressions.asp
Finrep allows three modes of string replacement.
1. Interactive mode: you will be prompted for (1) the filespec to modify (wildcards OK); (2) the Regular Expression to find (3) the (optional) replacement string. This mode allows replacement of only a single string.
2. Command-line mode.
This allows running finrep within other Windows scripts in "batch" mode. The syntax
is:
finrep
<filespec> <RegExp_to_search> <replacementString>
[<RegExp_to_search> <replacementString>]...
You may include as many find/replace pairs as will fit on the command line. NB: (1) For an empty replacement string, use "" (2) To refer to the quote character, use \x22 (3) if one of your strings has spaces in it (e.g., \b\w+[ ,;-]), put quotes around or it will be interpreted as two arguments. You may use $nn in replacement strings to access saved portions of the preceding search string.
3. File mode. This is most convenient for multiple string replacement. There
is no limit to the number of strings you can replace.
Syntax:
finrep
<filespec to test> <find/replaceString file >
The find/replaceString file is a text file that alternates (Regular Expression) search and replacement strings, one to a line. NB: In contrast to the command-line mode, the quote character has no special privileges; for an empty replacement string, leave a blank line.You may use $nn in replacement strings to access saved portions of the preceding search string.
Regular Expressions may be written in two ways: (a) /RegExpString/flags (b) RegExpString (default flags are gi ~m)
Switches: /x at the end of the command line in any mode changes the original file, saving the old file by adding "bk" to the filename; default saves the changed file by adding "n" to the filename. Beginning the command line with /? gives a brief syntax summary.
Please report any bugs to gans@humnet.ucla.edu.
French Revolutionary Calendar program (frrev.htm)
If you've always wanted to know your birthday in the French Revolutionary Calendar (est. 1793, abolished 1804), this is your chance. Frrev calculates the Revolutionary date for any day between September 22, 1792 and the end of the 22nd century.