A simple implementation of tetrix using Java 2D.