Skip to content

About

Implementation of Tetris within PostgreSQL

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

PostgreTETRIS: Tetris in PostgreSQL

Implements a simplified version of Tetris using PostgreSQL. When run in an empty database, the tetris.sql script file generates the tables, views, functions, and procedures needed for the Tetris application. Once the script has been run, the "reset" procedure must be called in order to prepare the components and print the blank playfield. To place a piece, you insert a (pos, orient) tuple into the "moves" table using CALL place(pos, orient), where "pos" is an integer from 1 to 10 that marks the leftmost column to place the piece, and "orient" is an integer that determines the rotation of the piece.

A detailed explanation of the application and its codebase can be found on my website.

About

Implementation of Tetris within PostgreSQL

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages