Basic Games in Scheme

I use this little project to test algorithms and libraries, but it's marginally fun to play with some of these.

  1. Install Chez Scheme
    • Works on Mac and Linux. Might be usable in WSL on Windows?
  2. ./basicss, type ? at the prompt for interactive fun.
    > ?
    Basic_Games_in_Scheme
    Version 1.1
    © 2020-2025 by Mark Damon Hughes. All Rights Reserved.
    https://mdhughes.tech/basicss
    Commands:
    acey, aceyducey     Card game of Hi/Lo.
    banner W H TEXT...  Draw a banner, each char WxH sized, max 10.
    bagel               Guess a 3-digit number with place hints.
    bofh                BOFH Excuse Generator.
    d, dice N S         Roll N number dice of S sides.
    dwarfen             Explore the Stronghold of the Dwarfen Lords.
    forest W H          Tiny forest, W H is screen width & height.
    guess               Guess a number 1-100 with hi/lo hints.
    hangman             Guess the word before you hang.
    hurkle              Catch the Hurkle.
    maze W H [STYLE PARAM]Maze generator. W H are size, 3-1024
        STYLE is one of (maze wild dungeon) (default maze)
        PARAM depends on style. For maze, it is chance of extra openings, 0-100 (default 0)
        For wild, it is terrain type: (generic plain cave desert forest hill marsh mountain water)
        'maze 38 11' fits nicely on screen.
    name TYPE [COUNT]   Name generator, ? for list of types
    roman N             Roman-Decimal converter. N may be either system.
    seabattle           Sea battle.
    slash W H           Simple slash maze generator. W H are size, 8+
            'slash 40 11' fits nicely on screen.
    stars               Guess a number 1-100 with star hints.
    starfield           Display a simple starfield.
    survival            Survival in the woods.
    wordsearch [FILENAME [ALPHABET]]Create a word search puzzle,
            words from filename or entered by hand.
    quit                Quit.
    ?, help             Show this help.
    
  3. ./basicss wordsearch puzzle.txt 0123456789 for word search with words from puzzle.txt (one per line), and a new filler alphabet of just numbers.

One thought on “Basic Games in Scheme”

Comments are closed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)

Mentions

Mentions

  • mdhughes