Skip to content

DylanFoss/Betris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Betris: a 100% original game*

An in-progress OpengGL implementation of Tetris. Simply done to see if I could.

FEATURES:

  • Uses SRS (standard rotation system) to solve roatations in complience with the standard tetris rule sets. T-spin to win.
  • Full scoring system(T-spins, back-to-back clears, combos). Scoring System Used
  • Holding pieces, seeing your next pieces and and outline of where your current piece will land.

UPCOMING FEATURES

  • Menus that allow the entering of the main game, as well as a reset screen when the game ends.
  • Add varying levels based on performance.
  • General polish (text centering, QoL).
  • Implementation of audio.
  • Raytracing*.

CONTROLS:

A and D to move piece left or right.

Q and E to rotate the piece left or right.

S to drop the current piece faster (soft drop).

SPACE to drop the current piece instantly (hard drop).

C to swap/hold current piece.

Demonstration:

https://www.youtube.com/watch?v=PlB5suEUTrE

Images:

image

Special Thanks:

To these two resources that allowed for painless text rendering.

FreeType Fonts in OpenGL by NeHe

glfreetype by benhj

About

An ongoing Tetris clone in C++ with OpenGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors