A Tetris-like falling-piece game played on a triangular grid grid. Written in C++ using SFML for rendering.
Standard Tetris uses square tiles on a rectangular grid. This project explores the same falling-piece mechanic on a grid of triangles, where pieces are composed of triangular cells arranged in triangular coordinate space. The coordinate transformation from triangular to Cartesian space is handled internally.
Work in progress. The project currently implements:
- Triangular grid representation
- Coordinate transformation from triangular (hexagonal representation) to Cartesian space
- Basic figure/piece definition
- SFML window initialisation and render loop
- Rendering of triangular pieces on screen
- SFML ≥ 3.0
- CMake ≥ 3.x
- g++ with C++17 support
mkdir build && cd build
cmake ..
make