Tyger is a clone of ZZT and Super ZZT developed by Dr. Dos in the late 00s and early 10s using the Python programming language and Pygame library.
Tyger repurposes the BoardTimeHsec field in the TWorldInfo structure as two bytes:
|0x00||byte||Tyger world selection game name color? (Unused)|
|0x01||byte||Tyger world selection game name length? (Unused)|
In general, Tyger is not constrained to the limits of 16-bit ZZT counters.
Tyger adds the following OOP extensions:
#if anysupports providing the background color as a second argument, as in
#become fg bg elementor
#change fg bg element1 fg bg element2.
anyfor a given color to re-use the tile's existing color as foreground, background, or both.
defaultfor a given color to use the ZZT-defined default color as foreground, background, or both.
#charsupports character 0. In addition, for out-of-range character values, it will resort to using character 32 instead of ignoring it (vanilla ZZT behaviour).
#cyclesupports setting cycle 0.
#diecreates a black-on-black instead of white-on-black empty.
#takesupport giving and taking the following additional kinds:
seconds- the opposite of
light- additional torch cycles,
invuln- additional energizer cycles (this also sends every object to the
energizer- one energizer item's worth of cycles - use without an argument, as in
key- a key - provide a key name as argument, as follows:
alignedcan be used as a synonym for
Tyger adds a significant amount of additional cheats.
|ammo||Yes||Adds 5 ammo.|
|torches||Yes||Adds 3 torches.|
|gems||Yes||Adds 5 gems.|
|score||No||Adds 100 score.|
|health||Yes||Adds 50 health.|
|dark/-dark||Yes||Sets or clears board darkness.|
|light||No|| Synonymous with -dark, but does not edit the
|keys||Yes||Grants the player all keys.|
|time||Yes||Adds 30 seconds of time.|
|zap||Yes||Removes tiles from player-neighboring squares.|
|idspispopd, noclip||No||Toggles no-clip movement.|
|iddqd, energized||No||Sets the player to be energized forever.|
|idfa||No||Sets the player to 32767 ammo, 32767 torches, 32767 gems and 32767 health.|
|idkfa||No||Sets the player to 32767 ammo, 32767 torches, 32767 gems, 32767 health, and all keys.|
|^^vv<><>bastart, ^^vv<><>baselectstart||No||Sets the player's health to 3000.|
|count leaves||No||Sets the player to have 6 health, 9 ammo, 1 torch, 0 gems and 5 score.|
|kill||No||Kills the player.|
|explode||No||Blows up the player.|
|#, /, ?||No||Runs OOP code on the player's location.|