Тетрис Хамелеона

Первая игра для Хамелеона. Запуск Тетриса под системой Хамелеон был невозможен до реализации системного вызова poll, благодаря которому можно ожидать нажатие на клавишу в течение заданного интервала времени.

Несмотря на то, что тетрис был написан непосредсредственно для системы Хамелеон, отладка его происходила на системах Linux и FreeBSD, под которыми он замечательно работает в консольном режиме. Сейчас игра используется для отладки системного вызова poll в Хамелеоне.

Скачать исполняемый Elf файл для Linux x64 - tgz архив 6 Кб.

Обновление от 4 октября 2014 года:

begin-base64 644 tetris.tar.gz
H4sIAHAaL1QAA+0873PTSJZ8lf6KN5kK2NhOJNsJAyZUcZAZuA2EG8LdVOV8
LmPLiRLZ8loyIQf5v/bz7pet3bq9m7uruq/eEC8mISE/lmWn4JZ7r7sltSzZ
5AfJQB2qmpHV/fr1+9nv9esmruG2TGescu4UHw2fyXye3vqlCY196/wbn7ye
zU6e07NablKb0CbyuXOark/kJ8+BdppEeU/bccstgHNlq15uDIUzWs5ZEHS2
z9dmo2K1qwZcddyqaY8tXlPlppbZWAi3NW3L6oNadcZNu+L2NbtGq27aTj/G
qmU+jI53zboRbm03TASmNrViNxwXKouop4uu2XTmizAFT1RlZLQyn8vVZ/JA
P/T6HL2ydYM3u/TK11v0mqib9JqsO/S6XB9J4+hF121eGR+38khkqz3uMk9g
PSNpwP/fb5YrBmSg2rKbUDMX2i2D9c4YNRebnUUT3xZ+sNbvzYXFoLlluvjJ
Oh40sbVlu2XXgIplV5ZXTIcjummvNKQ+u91Amfm9/4Bdv2ybLiyU67zlHrY0
y2iII+paQUVZ1apGDWZu333wg6p8jb/NhgFzt2dvfDc9d12ZY69wx33eQS/1
a6NRNWs+mh+u30FYX/xWfny5ajxsc+0HoKAFGL+buX7/fumfbt+cu6Uo3/S3
35q+/d2tOUXXcLjlGAOG6RF83ri8P6272jSIRDTHdsWFJ2A2XHichtUCrEHF
sKySi+Ig+1CUBavsOPPSFMV5GW2xAOPj8ON+Z7OzrfKhisJ1O58vFhTs/O/e
s4PdjopzKIriVOyWU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