[main]Notes on TeXmacs

Tetris with TeXmacs tables

This example is taken from a presentation of Miguel de Benito

The TeXmacs source tetris-with-tables.tm loads the scheme file tetris-with-tables.scm which defines the procedures needed to play tetris. The game surface is implemented via a document table and the tiles by changing the color of the cells. This is not the most efficient implementation but it is a nice example of several features of TeXmacs: