You do not need to know programming. This guide makes a small game, plays it, and puts it on a BBS. Allow about an hour.
| Word | What it means |
|---|---|
| BBS | A bulletin board: a computer people call or connect to with a terminal program |
| Door | A game that runs on a BBS |
| Sysop | The person who runs the BBS |
| Drop file | A small file the BBS writes to tell the game who is playing. The game reads it by itself |
| FOSSIL | A small DOS program that looks after the modem. Only for DOS boards |
| Place | A room or menu in your game |
| Choice | A key the player can press in a place |
| Field | Something the game remembers, such as a player's cash |
| Table | A list, such as the animals a player can meet |
| Module | A ready-made part, such as a shop or a fight |
| Block | One step the game carries out, such as Say or Spend |
Get it from https://kalretro.au/doorbench/
sudo apt install ./doorbench_0.4.3_amd64.deb./install.shThe computer you make games on does not need a BBS.
Nothing you do in test play can damage anything. You can change this game as much as you like.
Press New project... again (or File). Fill it in like this and press Create.
Press Ctrl+S now and then to save. Ctrl+Z takes back a mistake. You can copy and paste in any box with Ctrl+C and Ctrl+V, or by right-clicking in it.
cave and press Enter.bread.store, title The store.Bread, choose bread beside it, and make the price to buy 3.S, label Store.beasts and press Enter. Leave it fixed.hp, attack and money. All are numbers.| name | hp | attack | money |
|---|---|---|---|
| A cave rat | 6 | 2 | 8 |
| A bat | 4 | 1 | 5 |
| A blind lizard | 12 | 3 | 20 |
hunt. Type the two formulas below into They hit and Money won.some bread and Heals to 5.Copy the two formulas exactly:
f.attack + random(-1, 1) means the animal's attack, give or take one. f is the animal.f.money means the money in the animal's row.H, label Hunt. Press its + Add a block, then Group, Call a function. It should say hunt.Still in the cave, add a choice: key L, label Look around. Then add these blocks:
10 to 1, and player.cash to player.turns.50 to 30.You are too tired today.Only stones.1 to random(1, 6). It already says player.cash.You find some coins. You have {player.cash}.Curly brackets put a value into text: {player.cash} shows how much cash the player has.
Press F5, then Play as Ann, and click the black screen.
Press C for the cave and H to hunt.
If something is wrong, it is listed at the bottom of the window. Click it to go there.
1.0) and a Licence. If you are happy for anybody to copy and change your game, CC0-1.0 will do.player and write a few lines. You can leave this out: a short PLAYER.TXT is made for you.You get one ZIP for each system. Each holds everything: your game (.DBP), the program that runs it (CAVETOWN.EXE or cavetown), the maintenance and setup programs, and instructions. Nothing else has to be installed. Keep the files together. The Windows one needs 64-bit Windows.
Give the sysop the ZIP for the computer the BBS runs on. SYSOP.TXT inside has these steps too.
| Windows or DOS | Linux | |
|---|---|---|
| Unpack the ZIP into its own folder | for example C:\BBS\XTRN\CAVETOWN | for example /bbs/xtrn/cavetown |
| Let the programs run | not needed | chmod +x cavetown dbmaint dbsetup daily.sh |
| Set up the game, once | DBMAINT new | ./dbmaint new |
| Change the settings, if you like | DBSETUP | ./dbsetup |
| Try it without the BBS | CAVETOWN -l -u YourName | ./cavetown -l -u YourName |
| Every day, from a timed event | DAILY.BAT | daily.sh |
Type the commands in a command window, in the game's folder. If the try works, the game is fine and only the BBS setting is left.
These settings are the ones in SYSOP.TXT. Not all of them have been tried on a live board.
| BBS | What to set |
|---|---|
| Synchronet, Windows | Command CAVETOWN.EXE -d %n -n %#, start-up folder ..\xtrn\CAVETOWN, drop file DOOR32.SYS, native program, I/O socket |
| Synchronet, Linux | Command ./cavetown -d %f -n %#, start-up folder ../xtrn/cavetown, drop file DOOR.SYS, native program, I/O standard |
| Mystic, Windows | Menu command D3, data C:\DOORS\CAVETOWN\CAVETOWN.EXE -d %P -n %N |
| Mystic, Linux | Menu command D3, data /path/to/cavetown -d %P -n %N -g /path/to |
| Ironbark (Linux) | In doors.toml, a door with kind = "native", dir = "cavetown" and command = "./cavetown -d %nDOOR.SYS -n %#" |
| DOS | In a batch file: CD \DOORS\CAVETOWN then CAVETOWN.EXE -d C:\BBS\NODE1 -n 1 |
On DOS a FOSSIL is used when there is one, and the serial port when there is not. If the game cannot tell which port, add -p 1 for COM1.
With nobody playing: copy the new files over the old ones and run DBSETUP update (Linux ./dbsetup update). Saved games are kept.
| What you see | What to do |
|---|---|
| Make packages refuses | Fix the errors listed, and fill in version, author and licence in The game |
| "nothing leads here" | In Flow, drag a line from another place to it |
| Linux says "Permission denied" | Do the chmod line above |
| Players never get new turns | The daily event is not running |
| DOS: the game says it is locked after a crash | DBMAINT unlock |
| Something looks damaged | DBMAINT check, then DBMAINT restore 1 puts back a backup |
More: a shorter first game, the editor, modules, the script language.