ArticleslgStudy

computer science

ZZT

ZZT is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand ZZT rather than just read about it. In short: ZZT is a 1991 action-adventure puzzle video game and game creation system developed and published by Potomac Computer Systems for MS-DOS. It was later released as freeware in 1997.

ZZT — main illustration
ZZT — illustration

Key takeaways

  • ZZT belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect ZZT to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of ZZT from memory before moving on to harder problems.

Reference excerpt

ZZT is a 1991 action-adventure puzzle video game and game creation system developed and published by Potomac Computer Systems for MS-DOS. It was later released as freeware in 1997. It is an early game allowing user-generated content using object-oriented programming. Players control a smiley face to battle various creatures and solve puzzles in different grid-based boards in a chosen world. It has four worlds where players explore different boards and interact with objects such as ammo, bombs, and scrolls to reach the end of the game. It includes an in-game editor, allowing players to develop worlds using the game's scripting language, ZZT-OOP. The game was designed by mechanical engineering student Tim Sweeney in roughly six to nine months. It was built from a text editor conceived in 1989 to build a better editor for Pascal, after he disliked editors that came with other programming languages. During development, he experimented with adding creatures and characters. He built boards that grew into worlds and refined the editor he used to create his own games—while studying at university. Initially, he made the game for himself, but after positive reception from his friends and neighbors, and seeing the potential for making a profit by releasing the game under shareware, he released it publicly. He marketed the game by distributing it across shareware vendors and bulletin board systems, earning money through mail orders for registered worlds. ZZT was a commercial success, with around 4,000–5,000 copies sold by 2009. The game received mixed reception. Much of the positive reception focused on the gameplay, editor, and the community it developed. Criticisms focused on the game's graphical and audio limitations and perceived unfair difficulty. The sequel is Super ZZT (1991). Other ZZT worlds were published later as Best of ZZT (1992) and ZZT's Revenge (1992). ZZT's success led Sweeney to change his company's name to Epic MegaGames, and focus on competing as a video game company using shareware to distribute commercial games. Epic MegaGames later developed other successful games including Jill of the Jungle (1992) and Unreal (1998), using lessons from ZZT's success by focusing on developing the editor and engine to allow others to more easily make games. The game inspired one of the earliest active modding communities, which has grown by making new worlds, editing tools, and source ports, and inspiring some in the community to pursue a career in the video game industry.

Gameplay ZZT is a top-down action-adventure puzzle video game and game creation system. Players control a white smiley face on a navy blue rectangle that can move around in four directions. Players can interact with objects by touching or shooting at them. Touching ammo containers, gems, torches, and keys adds them to your status bar. Boxes of ammo allow players to fire bullets at objects, gems increase health and are used as currency, torches light up a small area around the player in dark boards, and colored keys allow players to open same-colored doors. Other objects in the game include bombs, doors, and scrolls. One type of object called "Object" interacts based on written scripts using the game's scripting language, ZZT-OOP. As an example, the object could be programmed to give the player health, or fire bullets at the player, flashing text in response. At any time, players can save their progress, and return to the game's exact state. Game worlds are made up of objects within grid boards that connect to each other. Players can move across different boards by either reaching the edge of the board or entering teleporters. Six game worlds were made for the game's release; four of them are game worlds, and each of the four starts in a different area. Town of ZZT starts in a hub world with four buildings mixed with six exits, Caves of ZZT opens with a sparse area of torches and a scroll, Dungeons of ZZT starts with a linear opening sequence with gates that lock the player inside, and City of ZZT opens with a city street as a hub with a few structures. Two other worlds were included, serving different purposes. Guided Tour ZZT's Other Worlds previews boards of each game worlds, and Demo of the ZZT World Editor creates parallels to a museum by showing all of the items, terrains, and creatures that make up ZZT. The goal for players are to reach the end board, progressing either by collecting purple keys to open locked doors, or gathering objects throughout the world. Boards can contain action or puzzles. Action boards have the player face off against creatures. Creatures include lions, tigers, and bears. When creatures, bullets, or stars touch the player, health is lost. Once the player runs out of health, the game ends. Puzzles consist of untangling combinations of boulders, sliders, and pushers, or mazes that can include invisible walls and teleporters. Some puzzles can trap the player, leading players to require returning to an earlier save. ZZT includes an in-game editor, allowing players to make their own worlds. Players start with yellow normal walls surrounding a new board as a blank screen. The editor allows players to add and arrange items, creatures, and terrain, and connect different boards together. Each board can be set to include specific settings, such as adding a time limit, making the board dark so the player could not see the board without a torch, or limiting the number of bullets on screen at any given time. Each board had its own isolated variables within the game, and through scripting players could create ten different boolean flags for the environment, shared across boards. Using ZZT-OOP, objects can be named, given commands for actions, and can send and receive messages. Everything within ZZT is displayed in the 255 characters of the IBM PC's character set to create environments. The game supports sixteen colors, but the editor only permits seven colors for colorable objects, and has limits in the amount of objects being placed in each board. Players eventually learned additional ways to add more colors to the game utilizing commands and different text characters, and editing world files. The PC speaker permits seven notes at several different octaves, and instruments with unique pitches of clicks, pops, and snaps to represent percussion. Sounds are played through normal gameplay, or making custom sounds through scripting.

Development

… excerpt ends here. Continue reading the full article.

Illustrations

ZZT: Tim Sweeney at the Game Developers Choice Awards 2017
Tim Sweeney at the Game Developers Choice Awards 2017

Worked examples

Example 1 — a first encounter with ZZT

Start with the simplest possible case. Write down what ZZT claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to ZZT before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about ZZT ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of ZZT

In research
ZZT appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses ZZT in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
ZZT is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1991 video games, Action-adventure games, Commercial video games with freely available source code, so understanding it makes those chapters shorter.
In everyday life
Look for ZZT outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “ZZT” →

How to study ZZT in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what ZZT means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain ZZT out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is ZZT in simple terms?

ZZT is a 1991 action-adventure puzzle video game and game creation system developed and published by Potomac Computer Systems for MS-DOS. It was later released as freeware in 1997.

Why does ZZT matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study ZZT?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on ZZT.

Tags

  • 1991 video games
  • Action-adventure games
  • Commercial video games with freely available source code
  • DOS-only games
  • DOS games
  • Epic Games games
  • Formerly proprietary software
  • Open-source video games
  • Puzzle video games
  • Shareware games
  • Single-player video games
  • Software programmed in Pascal

Keep exploring