OOo Basic Crash Course: Creating a Simple Game Using Strings in a Database

“Just because OpenOffice.org Basic is designed to automate
mundane tasks doesn’t mean that you must use it only for serious
work. It’s a programming language after all, and nothing stops you
from using it to write something fun. Today we’ll use it write a
simple game where you have to guess a word, a letter at a time,
from among words you’ve stored in a Base database. Although this is
not a particularly sophisticated game, it contains a couple of
string manipulation techniques and a clever trick for picking a
random record from a database, which you might find useful when
writing your own macros…”