XMLGameEngine is a VGDL (video game description language) and an engine for running games completely contained within an XML file.
55 games in games/descriptions/, each one file. Why each was written and what it left out: games-classic, games-written-by-ai, games-atari.
Every game follows it, and test_engine_input checks it:
color. names only.The tables list only keys beyond that.
| Game | Keys | Shows |
|---|---|---|
pong |
W/S; on the title Space plays the computer (A/D easy or smart), 2 two players on Up/Down | <deflect> off the paddles, a computer of two levels |
pong_min |
W/S, Up/Down | two paddles and a ball, nothing else; the game --generate was grown on |
breakout |
A/D, the mouse | eight rows of bricks as one group, a half paddle at the top, the mouse by <track /> |
spacerace |
W/S, Up/Down | two rockets through drifting debris, the most crossings in a minute |
| Game | Keys | Shows |
|---|---|---|
spaceinvaders |
A/D, Space fires | a lockstep block, bombs, a mystery ship, shields worn by <hole> |
spaceinvaders2 |
as above | the same game drawn from an SVG sprite sheet |
astrosmash |
A/D, Space fires | rocks that split, spinners, a spare base each 1,000 |
asteroids |
Left/Right turn, Up thrusts, Space fires, Down hyperspace | headings, rocks that break, two saucers, a flame pose, the best score kept |
demonattack |
A/D, Space fires | three waves of demons that fire back and split |
galaxian |
A/D, Space fires; 2 on the title | paths, a swaying fleet, escorts, turns, a top five, an attract mode |
megamania |
A/D, Space fires | eight wrapping waves; energy as a timer’s time left |
atlantis |
A, W, D fire the three posts | waves whose named timers and conditions from= replaces |
missilecommand |
W A S D move the sight, Space launches | <aim>, counter-missiles trailing a <tether>, waves as scenes |
depthcharge |
A/D, Space drops | charges off both sides, submarines laying mines, 90 seconds |
yarsrevenge |
W A S D fly, Space fires | a missile that <seek>s, the shield a moving map |
centipede |
W A S D move the wand, Space fires | a chain that splits where shot, an unseen line holding the wand in its zone |
| Game | Keys | Shows |
|---|---|---|
frogger |
W A S D hop | <ride />, unless=, diving turtles, five bays |
freeway |
W/S, Up/Down | two chickens across ten lanes; a hit knocks one back a lane |
kaboom |
A/D, the mouse | eight waves as scenes; the bucket stack as looks |
frostbite |
W/S jump rows, A/D walk | <jump>, looks that turn the floes, three nights |
combat |
W/S drive, A/D turn, F or Left Shift fires; Up/Down, Left/Right, Right Shift or Right Control | two tanks; a hit knocks the tank back |
airseabattle |
A S D point, W fires; Left Down Right, Up | two guns, four lanes of planes, 2:16 |
fishingderby |
W A S D move the hook | tethers for lines, values read when used, a computer fisherman |
tennis |
W A S D walk | an altitude and a shadow, a computer at the far end, points said in words |
trickshot |
W A S D move the cue tip | pool: balls that <knock>, slowed by <drag> |
| Game | Keys | Shows |
|---|---|---|
donkeykong |
A/D walk, W/S climb, Space jumps | sloping girders, ladders, barrels that sometimes take one, fireballs |
mariobros |
A/D walk, W or Space jumps; 2 on the title for Luigi on the arrows | a knock through a floor, <poses>, a window <scale>, palette swaps, six phases |
pitfall |
A/D run, Space jumps, W/S climb | screens built from a kit, logs, tar, crocodiles |
berserk |
W A S D walk and face, Space fires | rooms as maps, robots that line up and fire, Evil Otto |
adventure |
W A S D walk, Space drops | five rooms, <carry />, dragons that wake |
hauntedhouse |
W A S D walk, Space strikes a match | a house seen only by light |
qbert |
W D S A hop up-right, down-right, down-left, up-left | a pyramid map, timed hops with an <arc>, Coily hunting by hops |
pacman |
W A S D steer | the arcade maze as a map, four ghosts hunting their own ways (walking a map) |
| Game | Keys | Shows |
|---|---|---|
tetris |
A/D move, W/X turn, E/C turn back, S drops faster, Space drops at once; P pauses | cells, standard turns and kicks, full rows cleared, the next shape by <send> |
columns |
A/D move, W/X/Space cycle, S drops faster; P pauses | lines of three alike, chains by <fall /> |
capsules |
as Tetris, without the drop | an original game of germs and capsules; halves that stay joined (<joins>) |
snake |
W A S D or arrows; Space or P pauses | a chain for a body, food in a free cell |
All original games. P or Escape pauses.
| Game | Keys | Shows |
|---|---|---|
puttpark |
A/D or Left/Right aim, Space held then let go putts | six holes of mini golf; bounce off sloped walls; a key held and let go |
cannonhill |
W/S or Up/Down aim, Space held then let go fires | an artillery duel for two; <polygon> hills blown into craters; wind as a spawn’s <acceleration> |
pinball |
A or Left, D or Right flip; Space held then let go shoots | flippers that swing about a pivot and lend the ball their speed |
speedway |
player one W A S D, player two the arrows | a top-down race; cars with a heading and <grip>; grass, sand and oil as <surface>s; computer cars on paths |
Each plays the computer, or two players with 2 on the title. Cursor on W A S D or the arrows, the mouse points and clicks; P or Escape pauses.
| Game | Keys | Shows |
|---|---|---|
checkers |
Space picks up and puts down, X or Backspace puts back; M, V, J options | <moves>, forced jumps, kings by <promote>, <marks>, a computer that <think>s |
reversi |
Space puts a disc; M option | <flank>, <put>, the score by <count> |
fourinarow |
A/D move, Space, S or Down drops | <fall /> in the moves; the win by a <line> check |
tictactoe |
Space marks; A/D on the title for easy or smart | an empty <moves />: any free square |
dotsandboxes |
Space draws | lines put <on> their places, a box claimed by <close>, a cursor only on free places (<onto>) |
Space or a click plays; P or Escape pauses (N there deals again where offered).
| Game | Keys | Shows |
|---|---|---|
klondike |
move from pile to pile, Space takes and lays, X puts back, F sends home; the mouse drags | a <deck> made from suits and ranks, piles with rules of what they take |
crazyeights |
A/D along your cards, W/S to the stock, Space plays or draws, names the suit after an eight | players’ own piles, wild cards and a call |
blackjack |
A/D bet, Space deals, W hits, S stands | <worth> and live points, a dealer’s hole card |
holdem |
W bets or raises, Space checks or calls, X folds | poker hands as a game’s <patterns>, live pattern, strength, odds |
hearts |
A/D along your cards, Space plays | a <trick> broken by hearts, points by card |
spades |
W/S bid, A/D along your cards, Space bids or plays | trumps and partners, bids from live tricks |
gin |
A/D along cards, W/S to the piles, Space draws or discards, K knocks | melds of sets and runs, live deadwood |
pyramid |
Space turns the stock, picks and pairs, X puts back | covering, a hand that holds two, a pile that takes a sum of 13 |