Linux Format

Create turn-based internet games

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.

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. games are very popular. Take a look at the PBBG subreddit (). PBBG stands for persistent browser-based games. Any form of multiplayer situation, such as spacegame coming out every week.

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format2 min read
For The Experts
Hyper’s reliance on a text file for configuration will appeal to many more experienced Linux users, and it’s a boon that Hyper both scans for changes to the file and can open the file via the main menu. In theory, you could customise how this termina
Linux Format8 min read
Create A Fyne Journaling App
Credit: https://fyne.io Over the past decade, we have seen great improvements in the graphical software user experience and corresponding advancements in the tools that are used to create compelling apps for our phones and tablets. Unfortunately, bui
Linux Format3 min read
QIDI Tech Q1 Pro
It feels like QIDI Tech has been sitting in the back of the room, taking notes while we discuss other 3D printers’ flaws. The Q1 Pro fixes many of the little problems: it eliminates levelling guesswork by setting its own Z height; the spool holder is

Related Books & Audiobooks