ASCII tetris


..............................
..............................
..............................
....................##........
....................#.........
....................#.........
...........................#..
....###...................##..
.....#....................#...
##############################

Retro games, and ASCII for extra points! A quick script hacked together in pure PLT scheme to use for the game prototype, no actual interaction yet. It’s surprising how small the code is, I was expecting it to be harder to do. I think I’ll need to do more checking when you can drive the blocks, i.e. prevent moving left and right or rotating if there is a collision.

More ASCII output, and the code is here.


..............................
....................##.....#..
....................#.....##..
...........##.......#.....#...
...........#........###.......
..##.......#.........#........
..##......###.......##..#..#..
.######...#####.....#..##.##..
..#..#....##.######.#..#..#...
##############################

Leave a Reply

Your email address will not be published. Required fields are marked *