Skip to content

Game Introduction

Zjl37 edited this page Feb 20, 2022 · 4 revisions

English | 简体中文

Gamerules

PlaneFight is a two-player turn-based mini-game. The game deals with certain pixel pattern called "plane" and its goal is to determine the position of all the other player's planes and destroy them.

Let's begin with a typical setup:

Each player has a 10x10 gird called "battle field", invisible to the other, on which three planes is to be placed. A plane is a 4x5 pixel pattern which can rotate in four directions:

what is a plane image

In the above picture, blue girds are called portion of a plane. Especially, the gird marked by red X are called head of a plane. Planes cannot overlap, nor be placed out of border. Here's an example of a valid arrangement.

valid bf example

Game starts when both players are ready. In each turn, one player sends a "targeted missile" to the other's battle field by saying a coordinate. The other player must respond by saying "VOID", "HIT", or "DESTROY", respectively denoting that the target point is not a portion of a plane / a portion of a plane but not head / head of a plane, as the return message of that missile. The two players take action alternately.

A plane is destroyed if its head is hit. A player who first destroy all three planes of the other wins the game. Of course players should keep a record of all return messages so that they can accurately determine the position of the other player's plane.

Optional gamerules

  • Number of planes

    Suggest 2~5 in 10x10 battle field.

  • Cross-border mode

    With this option enabled, planes can be placed across the border, the overflow shown on the other side of the field.
    An example:

    valid bf cw example

  • Battle field size

  • Completely-destroy

    With this option enabled, missiles targeted at a portion of a destroyed plane returns "VOID", otherwise, "HIT". That is, the whole plane disappears when it is destroyed.

History

The game was originally invented by students of Wenzhou Experimental Middle School, Zhejiang, as a pen-and-paper game, and is honored as one of "the three cultural treasures of game of WEMS".

Although I'm not a student of that school, I'm glad to witness its spread. Thus I decided to make my own contribution with my programming skills. That's the birth of project planeFight1.

It was some time later that I discovered the open source world. Before I was to put it on GitHub, I found the code so messy that I decided to rewrite it, so the first release on GitHub is 2.0. To me 2.0 means great changes in the source code, while to all my friends it stands for the great change in the way of playing.

Clone this wiki locally