Quarters is a strategy game for two players. Although its rules are relatively simple, it still offers some of the same opportunities for skill as in chess. This program was originally conceived in the summer of 1986 during a study of the mini-max algorithm for chess playing computers, and was thus designed to offer some of the same type of strategies. The game was originally written in BASIC, then ported to Turbo Pascal, then to C, and finally to Java. The Java version is not necessarily object oriented, since it is a crude port from the C version.
FreeBASIC is a self-hosting 32-bit BASIC compiler. It makes use of the GNU binutils programming tools and can produce console and GUI executables, and dynamic and static libraries. It fully supports the use of C libraries and has partial C++ library support. It supports a C style preprocessor that is capable of multi-line macros, conditional compilation, and file inclusion. When used in its "QB" language mode, it provides a high level of support for programs written for QuickBASIC.