, known as Digger in North America, is a maze video game created by The University of Tokyo's Theoretical Science Group (TSG) in 1979. The game was originally developed and released as a personal computer game in 1979, and was then published by as an arcade game in November 1979. In 1980, the arcade game was released in North America as Digger by Sega-Gremlin, with minor changes in appearance.

The game was a commercial success in Japan, where it was among the top ten highest-grossing arcade games of 1979 and 1980. The game has been ported to several other gaming systems since its original release. It was an early example of a maze chase game, predating Namco's Pac-Man (1980). It also began a genre of games about digging holes and luring enemies into traps, variously called "trap 'em up" or "digging" games, which includes titles such as Space Panic (1980) and Lode Runner (1983).

Heiankyo Alien

Gameplay

The player controls a Heian period police officer () who must defend the capital city () from an alien invasion by digging holes in the ground and filling them back up after an alien falls inside. The player scores points for every alien trapped, and the quicker the hole is filled up after the alien falls in, the higher the number of points are scored.

Heiankyo Alien

The game has nine levels. The aliens increase in number as the levels progress, and they can escape from holes after a certain period of time elapses or if another alien passes above their hole. The player loses if he comes in contact with an alien. There is a time limit for each level, and the number of aliens increases drastically when this limit is reached, essentially preventing the player from completing the level.

Heiankyo Alien

After the player completes all nine levels, the game restarts to the first level and repeats again. The player can enter his name on the arcade machine if a high score is reached. In the original version of the game, a unique cursor is employed where the player selects a letter by having his character walk through the street that displays the desired letter. The game also contains a two-player mode, where the players can either alternate turns or play on the same screen simultaneously.

The arcade version uses a Zilog Z80 microprocessor, and the arcade system board used is a copied version of the one used by Sega's Head On. Since the original system board itself was a copy, Heian-kyō Aliens system board was easily duplicated, and many of the units distributed to arcade centers were "copies of a copy" created by other companies. Few of the original units manufactured by Denki Onkyō remain in place today.

Development

Heiankyo Alien was created by the Theoretical Science Group, a small group of students at The University of Tokyo in Tokyo, Japan — established in 1959, they focused primarily on computer science and soldering, among other similar activities. After the Japanese video game market began to "cool off" from the success of Taito's Space Invaders, a column in Weekly Asahi magazine named "Dekigotorogy" appeared, which ran a feature named "In Search of the next Space Invaders" based around the company visiting several different computer clubs across the country in search of potential games to topple the success of Space Invaders. After visiting the Toudai PC Club in The University of Tokyo and finding their game to be uninspiring, they soon visited the Theoretical Science Group only to have the same reaction. Over the course of two days, the group held meetings on the first floor of the student union building to brainstorm potential game ideas.

The idea of the game was conceived by Itaru Kawakami, beginning as a game themed around the player laying down traps in a house to catch cockroaches — feeling that the idea gave the player too much free movement, it was revised to make the playfield resemble a Go board. The cockroaches were changed to aliens due to the film Alien premiering around the same time. The Go-like board was slightly tweaked to resemble a cityscape; after multiple real-world areas were suggested, such as Kyoto, Japan and San Francisco, California, the team ultimately decided to base it on the capital city of Heian-kyō, with the player being changed to a Heian period police officer. The idea was submitted to Weekly Asahi, who published it in their column shortly after. Not wanting their idea to go to waste, the group began programming the game on an Apple II computer; however, it suffered from bad optimization and long load times. It was then reworked using the computer's low-resolution mode, which replaced all of the in-game graphics with colored blocks.