Chapter 8: Setting Up a Game Server with BZFlag
While the number of popular commercial computer games for Microsoft Windows still far outstrips those available for Linux, as a gaming server, Linux is an extremely popular platform. Linux server software is available for hundreds of commercial games, allowing your Linux server to bring together dozens or hundreds of online gamers at a time.
From the pure, open source standpoint, there are some fun games that have completely free client and server software that you can set up and play against others on your LAN or over the Internet. These include board games (such as Go and Atlantik), strategy games (such as freeciv), and battle games (such as BZFlag).
To try your hand at setting up and playing from your own gaming server, I describe how to configure Battle Zone capture the Flag (BZFlag). BZFlag is a fun 3D tank battle game, designed to be played against others over a network. After you set up a BZFlag server, you can have players battle each other over the network using clients on other Linux, BSD, Mac OS X, or Windows systems.
Figure 8-1 illustrates the BZFlag Start Server screen and tanks that might appear on BZFlag clients that run on Linux, Mac OS X, Windows, and BSD systems.
Like many open source projects, BZFlag was begun by a single person as a small idea that just took off. Chris Schoeneman started what became BZFlag as part of his graduate studies in computer graphics at Cornell University in 1993. The project started as a demo program to spin a 3D model with a mouse.
When a friend suggested that Schoeneman make the demo into a game, he created tank models, added the ability to shoot the tanks, and made it so the game could be played against other players on a LAN. The game grew in popularity at Cornell and, over time, features were added such as flags, team bases, and Capture-the-flag–style game play. With the addition of capture-the-flag, the game's name changed from bz to BZFlag.
More than a dozen years later, BZFlag (BZFlag.org/) has a thriving community, with more than 3,000 registered users and 34,000 articles at the BZFlag forums (my.BZFlag.org/bb). At any given time, there are dozens of public BZFlag servers running and waiting for you to join in. New worlds and new features are constantly being created and made available for BZFlag.
The current BZFlag maintainer is Tim Riker. Many other contributors to the project are listed as well. These include Daniel Léonard, Jeremiah â
- Two Pi R
- Readers' Choice Awards 2013
- AIDE—Developing for Android on Android
- Best. Cake. Ever.
- The Geek's Guide to the Coolest 2013 Holiday Gifts
- A Handy U-Boot Trick
- Sublime Text: One Editor to Rule Them All?
- RSS Feeds
- Raspberry Pi: the Perfect Home Server
- Tech Tip: Really Simple HTTP Server with Python
- Nice coding on the cake. I
38 min 8 sec ago
- Baker's identity
5 hours 27 min ago
- Uber jealous
10 hours 24 min ago
- Reality is disapointing
20 hours 57 min ago
- Máy sấy quần áo
23 hours 43 min ago
- Services on GlusterFS
23 hours 53 min ago
- Reply to comment | Linux Journal
1 day 1 hour ago
- Definitely cool stuff here
1 day 2 hours ago
- thanks for the information
1 day 3 hours ago
- nice information thanks
1 day 4 hours ago