obsolete.computer

the-maze/.

An old project originally written in QBasic, currently working on porting to QB64 and/or FreeBasic.

Directory Listing

total 104K
drwxr-xr-x 4 4.0K Mar 10 12:52 ./
drwxr-xr-x 4 4.0K Mar 19 11:02 ../
drwxr-xr-x 2 4.0K Mar 11 2024 original-code-and-data/
-rw-r--r-- 1 16K Mar 10 12:52 edit.bas
-rw-r--r-- 1 766 Jul 18 2011 edit.ico
-rw-r--r-- 1 32 Oct 3 2022 editicon.rc
-rw-r--r-- 1 11 Feb 23 2022 edit.ini
-rw-r--r-- 1 19K Mar 8 20:47 game.bas
-rw-r--r-- 1 12 Jul 18 2011 game.ini
-rw-r--r-- 1 13 Oct 3 2022 .gitignore
-rw-r--r-- 1 248 Oct 1 2022 LICENSE
-rw-r--r-- 1 406 Mar 8 20:15 Makefile
-rw-r--r-- 1 766 Jul 18 2011 maze.ico
-rw-r--r-- 1 32 Oct 3 2022 mazeicon.rc
-rw-r--r-- 1 1.2K Mar 8 20:18 README.md
-rw-r--r-- 1 100 Sep 27 2022 summary.md
-rw-r--r-- 1 5.0K Jul 18 2011 world1.dat

Download

  • Git clone URL: https://obsolete.computer/static/code/the-maze/.git
  • Download Tarball: the-maze.tar.bz2

Readme

the-maze

Originally a DOS Game written in QBasic, now a FreeBasic in "QB Mode" project. That's probably as far as it'll go, as there's entirely too much technical debt to make it worth working on in any serious capacity in 2025, but I just wanted to get it working again and on Linux.

Building

You should just be able to type make in the code directory (after installing FreeBasic of course). A directory called out will be created with the executables and game data... cd into it and run ./game. That's it, there's no install target. (You can also type make run in the code dir and it'll build/run everything)

Keys

In the game: Arrow keys move. E switches to the level editor. L loads a new game file (you'll be asked to provide a filename - the default game is world1.dat so don't overwrite that). Esc quits the game.

In the editor: Input is mainly mouse-driven, so you can select object modes at the bottom of the screen and place them with the left button. Erase an object of the current mode using the right mouse button. Use the arrow keys to move rooms. Click PLAY to save your world and switch to the game. Esc exits to the OS.

Recent Changes

  • [bb6d50e] 2025-03-08: changed door character as chr was also the block character
  • [b63f447] 2025-03-08: Added a 'run' target and updated instructions appropriately
  • [eb88f78] 2025-03-08: Added build 'instructions' and keyboard commands to README
  • [142ac1c] 2025-03-08: Updated README
  • [7f1195c] 2025-03-08: Updated README

License

This project is in the public domain.

Contributing changes back to this codebase and giving attribution when reusing this code are both wonderful things, but neither are necessary.

Meta