Skip to content

benrosenberg/dtris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dtris

tetris in dlang

features

many nice features:

  • extensive customization options:
    • customizable keybinds for piece movement and menu exiting
    • handling: das, arr, sdf
    • color scheme: customizable 12-bit colors for everything drawn to the screen, along with names taken from the xkcd color survey (see how the color names were mapped)
  • typical game features:
    • the SRS rotation system (+ naive 180-spins)
    • ghost pieces
    • next queue
    • hold piece

screenshots

game

colors

keybinds

handling

menu

todo list

  • keep track of score, game time
  • game over logic
  • leveling
  • finish gamemodes - sprint, blitz
  • decouple piece movement from current 60 fps lock
  • audio
  • support more than one screen resolution
  • display actual key names instead of numeric key codes in keybinds menu

build details

tested with v2.109.1 of the DMD compiler for D on Windows 10, and v5.5.1 of the raylib-d binding for raylib.

About

tetris in dlang

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages