You are currently viewing the European Union version of the site.
Would you like to switch to your local site?
14 MIN READ TIME

Create turn-based internet games

David Bolton takes inspiration from his past and explains what postal games are, and what’s needed to create and run one in the modern age.

OUR EXPERT

David Bolton worked for several years as a postal game developer back in the late ’80s for what was then the UK’s largest postal game company.

QUICK TIP

There’s an old saying that you should always validate your inputs. Even if you wrote the part of the website or mobile app that accepts orders, you should still validate them in your program that reads and processes them. It’s easy to make mistakes.

W e’re going to relive the heyday of the play-bymail craze by creating our own multiplayer browser-based game. In this two-part series, we’re looking at what you need to set up a game and providing an overview of the games processing. It’s only called postal because that’s how these games used to be run from the late ’70s until the mid-’90s, when the internet came along. No stamps are needed now! Here is a list of the steps involved in setting up and running a game:

1. A game is developed then advertised.

2. Players sign up.

3. When enough players have joined, the game begins. The website is updated with the initial positions.

4. Players receive their initial positions.

5. Each turn, players submit their orders through a website or mobile app.

6. Once an hour (or whatever time period) all the game orders are processed.

7. Results are generated and the website/mobile app is updated. 8. Loop back to step 4 until the game finishes.

Those steps in more detail…

The type of game is entirely up to you. Mafia-type games are very popular. Take a look at the PBBG subreddit (www.reddit.com/r/PBBG/). PBBG stands for persistent browser-based games. Any form of multiplayer situation, such as space combat, military strategy games, sport – for example, football leagues – and, of course, fantasy games involving castles, dungeons and dragons are popular. Judging by that PBBG subreddit, there seems to be a new Mafia game coming out every week.

WHAT IS PLAY-BY-MAIL (PBM)?

PBM is a form of commercial game playing that existed long before the web – from the ’70s through to 1995. Games were advertised in magazines and players wrote in and asked to join the waiting list. When it was ready, the game would begin and players would be sent multipage printouts. Some games used special postcards, where players could enter their orders – usually simple commands – then posted orders to the company before the deadline. Each turn cost typically between 50p and £1.00.

At the games company, the orders were typed in, a program run and the turn was processed. One of the longest running games, Quest (https://en. wikipedia.org/wiki/Quest_(game)) was developed in 1989-1990 by the author while working at KJC Games and is still run today, with a major redesign in 2002. It was originally written in 40,000 lines of Turbo Pascal and took a year to develop. It was loosely based on the Ultima games, with up to 1,000 players whose parties of D&D-type characters travelled across a continent, went down dungeons and fought monsters and other parties.

Since the web appeared from 1995, games moved from postal to email and web, which saved postage and meant that turns could be done in hours, not days or weeks. The principle of submitting turns, having them processed and returned still works. Wikipedia (https://bit.ly/ lxf316wiki) lists a number of active play-by-mail games but it’s unlikely any are run by mail now!

Unlock this article and much more with
You can enjoy:
Enjoy this edition in full
Instant access to 600+ titles
Thousands of back issues
No contract or commitment
Try for €1.09
SUBSCRIBE NOW
30 day trial, then just €11,99 / month. Cancel anytime. New subscribers only.


Learn more
Pocketmags Plus
Pocketmags Plus

This article is from...


View Issues
Linux Format
July 2024
VIEW IN STORE

Other Articles in this Issue


LINUX FORMAT
LINUX FORMAT
The #1 open source mag Future Publishing Limited,
WELCOME
MEET THE TEAM
We’re looking at the KDE Plasma 6 desktop environment this issue, but what’s your favourite desktop of all time?
Desktop upgrades
Everyone thinks they know best when it comes
REGULARS AT A GLANCE
Ubuntu 24.04 scores 20% faster than Windows 11
Over 100 benchmarks on the AMD Ryzen 7 7840HS Framework 16 have shown that Ubuntu 24.04 seriously outperforms Windows 11.
Open source Z80 alternative
Zilog has announced the EOL of the legendary Z80, but it may live again.
Microsoft open sources MS-DOS
Criticism has been drawn for the “mutilated” release.
YOU NEED HELP!
Italo Vignoli is one of the founders of
IN THE CLOUDS
David Stokes, is a technology evangelist at Percona.
Systemd wants to add sudo replacement
The upcoming v256 release of Systemd is expected to include a sudo replacement called run0.
German state moves to LibreOffice
Schleswig-Holstein switches from Microsoft Office.
Compromised Dockers
Docker Hub hosted millions of imageless containers.
Distro watch
What’s behind the free software sofa?
KEEPING IT REAL
Frederic Plourde is XR lead at Collabora. April
POWER DOWN
Jon Masters is a kernel hacker who’s been
Kernel Watch
Jon Masters keeps up with all the latest happenings in the Linux kernel, so you don’t have to.
Answers
Got a burning question about open source or the kernel?
Mailserver
WRITE TO US Do you have a burning
BACK ISSUES MISSED ONE?
ISSUE 315 June 2024 Product code: LXFDB0315 In
HotPicks
DigiKam Haruna Switcheroo Wallpaper Downloader Joplin Remmina NIS One-Click-Backup Armagetron Advanced Taisei Project Varia Midori
SAVE YOUR OLD PCs!
Bring out your dead PCs! We’ll use 32-bit distros and restoration tricks to revive your old hardware.
REVIEWS
SanDisk Pro-Blade
Flashing back to Zip drives, Ganesh TS is perplexed.
Archcraft 2024.04.06
Daring Nate Drake takes a trip in the Archcraft and finds it flies at the speed of light.
Fedora 40
Nate Drake doffs his hat to the very latest version of Fedora as he gives the Workstation edition a twirl.
Austrumi 4.9.3
Nate Drake discovers how a distro can be both fast and clunky at the same time when booting Austrumi.
Calculate Linux
Nate Drake crunches the numbers with Calculate Linux and finds it earns top marks for its excellent performance and features.
Pepper Grinder
Abbie Stone finds management is thrilled to have drill-equipped staff!
ROUNDUP
Editors for authors
Whether you’re working on a fiction or non-fiction book, Michael Reed believes it’s vital to have an editor that works the way you want.
THE ULTIMATE DESKTOP
Ultimate desktop upgrade
Transform your desktop with hot KDE Plasma and a little Jonni Bidwell.
Pi USER
Pi Foundation co-founder Jack Lang dies aged 76
Lang was a “central part of the Cambridge tech entrepreneurship scene” and helped establish the Pi.
Booting Ubuntu
…or not. Not so noble after all, it
Moah memory!
Compute that baby.
MAKE Pi NOT WAR
Les Pounder works with groups such as the
Dosbian 2.5
Les Pounder lives in the past – he loves old computers and can remember a time when Snickers were Marathons.
Creality K1C
Constantly demanding perfection, Denise Bertacchi is finally pleased with Creality. Well, almost.
Build your own weather machine
Les Pounder is normally a ray of sunshine, but is feeling a little under the weather. Perhaps this project will lift the clouds.
IN DEPTH
Inside Linux
As we delve into what makes Linux tick, your guide Matt Holder explains how abstraction keeps you safely away from hardware voltages
TUTORIALS
Learn the periodic table
PERIODIC-TABLE-CLI
Getting comfortable with terminal control
LINUX BASICS
Playing a full (Steam) Deck of the classics
BATOCERA
UK’s first expandable home computer
The Microtan 65 was basic but expandable way beyond other ’80s home computers. Mike Bedford explains how to experience it via emulation.
Make secure video calls with Linux
Well-known chatterbox Nate Drake walks newcomers to Linux through the many excellent videoconferencing options on your Linux system.
Feel the pressure with drawing tablets
After ignoring a key feature of Krita, under pressure Neil Mohr brushes away all criticism and paints over his mistakes.
ADMINISTERIA
Protect your data with strong encryption
When Stuart Burns was told to lurk around the data centre, he brought a packed lunch and his laptop running Ubuntu 24.04.
LUKS BEFORE YOU LEAP!
Recently, one of my mechanical hard disks started
StartMail
A man who trusts no one, Krishi Chowdhary demands ad-blocking and third-party trackers from his secure email. Looks like he’s found them.
SiteGround
Always demanding more and more features, James Capell suddenly wonders whether he’s willing to shell out for them!
Our green and pleasant phones
The environment is being destroyed by an addiction to devices. Neil Mohr investigates one company trying to turn the tide.
Fairphone 5
Bram Lodewijks casts a meticulous and moral eye over the latest ethical phone.
CODING ACADEMY
Code a classic Star Wars scroller
There’s nothing more classic than Star Wars, so Ferenc Deák brushes off his ancient dusty demo code for a scroller celebration.
Chat
X
Pocketmags Support