Half-implemented main game loop, line clearing, and scoring.