ArticleslgStudy

computer science

Stratagus

Stratagus 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 Stratagus rather than just read about it. In short: Stratagus is a free and open-source cross-platform game engine used to build real-time strategy video games. Licensed under the GNU GPL-2.0-only, it is written mostly in C++ with the configuration language being Lua.

Stratagus — main illustration
Stratagus — illustration

Key takeaways

  • Stratagus 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 Stratagus to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Stratagus from memory before moving on to harder problems.

Reference excerpt

Stratagus is a free and open-source cross-platform game engine used to build real-time strategy video games. Licensed under the GNU GPL-2.0-only, it is written mostly in C++ with the configuration language being Lua.

History

On June 15, 1998, Lutz Sammer released the first public version of a free Warcraft II clone for Linux he had written, named ALE Clone. In 1999 it was renamed to Freecraft. In June 2003, a cease and desist letter was received from Blizzard Entertainment, who thought the name Freecraft could cause confusion with the names StarCraft and Warcraft, and that some of the ideas within the engine were too similar to Warcraft II. The project halted on June 20, 2003. The developers regrouped in 2004 to continue work on the project, renaming it Stratagus. Their focus changed from cloning Warcraft II to creating an open source, configurable engine for RTS games including support for playing over Internet/LAN or playing vs. computer opponents. A separate project, Wargus, was started to get Warcraft II data files running in the Stratagus engine. This mod requires a legal copy of Warcraft II and allows for cross-platform support such as Linux and other operating systems. The free media set imitating Warcraft II was discontinued. On June 10, 2007, development of Stratagus was paused. The Stratagus developers began working on Bos Wars, which uses its own modified version of the Stratagus engine. In June 2010 some of the developers moved Stratagus project from SourceForge to Launchpad and started working on Stratagus and games again. Wargus (for Warcraft II), War1gus (for Warcraft I) and Stargus (for Starcraft) continued to be developed by the Stratagus team on Launchpad. In 2014, Wyrmgus started as a fork from the Stratagus engine to develop a strategy game based on free assets with a wider scope than the original engine allowed. The Stratagus team has since also moved to GitHub. Playable Stratagus-based games are: fantasy Aleona's Tales, medieval Battle for Mandicor, Warcraft II: Tides of Darkness (plus expansion Beyond the Dark Portal) port Wargus, Warcraft: Orcs and Humans port War1gus, futuristic Battle of Survival, historically inspired Commander Stalin, StarCraft port Stargus, and space age Astroseries. Of these, only Aleona's Tales, Wargus, War1gus, and Wyrmsun are complete.

Programming The Stratagus engine is a 2D engine based on cross-platform open-source libraries like SDL, gzip, bzip2 and others. Basing on Lua as their primary scripting language, virtually all the abilities in the engine have been made available to the users of Stratagus for easy modding, removing the need to change the original C/C++ source. Animations are created from a set of .png pictures; this technique was commonly used in the time that Warcraft and other RTS had come out. Stratagus and Wargus have been ported to run on Pocket PC, Symbian and Android devices. Wargus has also been ported to the GP2X and Open Pandora Linux handhelds.

Reception Stratagus was downloaded from SourceForge.net between 2004 and June 2017 over 185,000 times.

See also

Game engine recreation bnetd

References

External links

Official website Stratagus at Launchpad

Illustrations

Stratagus illustration
Stratagus: Battle of Survival screenshot
Battle of Survival screenshot
Stratagus: Battle for Mandicor screenshot (2005)
Battle for Mandicor screenshot (2005)

Worked examples

Example 1 — a first encounter with Stratagus

Start with the simplest possible case. Write down what Stratagus 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 Stratagus 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 Stratagus 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 Stratagus

In research
Stratagus 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 Stratagus 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
Stratagus is common in secondary-school and first-year university syllabi. It links to neighbouring topics AROS software, AmigaOS 4 games, Amiga games, so understanding it makes those chapters shorter.
In everyday life
Look for Stratagus 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 “Stratagus” →

How to study Stratagus in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Stratagus 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 Stratagus out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Stratagus in simple terms?

Stratagus is a free and open-source cross-platform game engine used to build real-time strategy video games. Licensed under the GNU GPL-2.0-only, it is written mostly in C++ with the configuration language being Lua.

Why does Stratagus 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 Stratagus?

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 Stratagus.

Tags

  • AROS software
  • AmigaOS 4 games
  • Amiga games
  • Fan games
  • Free game engines
  • Free software programmed in C
  • Free software that uses SDL
  • Linux games
  • Lua (programming language)-scriptable game engines
  • Lua (programming language)-scripted video games
  • MacOS games
  • MorphOS games

Keep exploring