XMLGameEngine

XMLGameEngine is a VGDL (video game description language) and an engine for running games completely contained within an XML file.

View the Project on GitHub beefviper/XMLGameEngine

Games as tests: games written by another AI

Status: Built. All three games have since been rewritten.

What the test showed

The author asked another AI to write three games (Berserk, Demon Attack, Frostbite) from xgedef.xsd alone. All three passed the schema and loaded; none could be played. Every error was something the schema accepts where the engine does nothing:

Lesson: the vocabulary was enough (no tag was added), but the schema could not tell an author a command was in the wrong place. Chosen: the loader refuses, as errors not warnings, unknown keys and colours, a command where it does nothing, and a change to a variable no object has, each naming what to write instead, with a “did you mean”. Where a command works is ruleFor in load/check.cpp; later the schema’s command groups said the same (file format).

The rewrites