Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@ContentsViewer ContentsViewer released this 02 Apr 01:35
30439ad

From this release, the repository name has been changed from sh-tetristo shtris.

Features

  • You can now choose two color themes - standard, system. (#60, #67) (thanks @ko1nksm !)
  • You can now pause the game. (#88) (thanks @ko1nksm !)
  • Now the game will show the line clear combo. (#89)
  • Add hold enabled effect(#90) (thanks @ko1nksm !)
  • Now the game will show the perfect clear. (#102)

Changes

  • Changed script name to shtris.
  • Changed piece lockdown behaviors.
    • When 15 movements/rotations have been used, piece will lock down immediately. (#82)
    • If piece lifts up the surface by rotation, lockdown timer does not reset but stop counting down until the piece lands again on a surface. (#82)
  • Changed the help layout. (#75) (thanks @ko1nksm !)
  • Removed the level limit. (#97) (thanks @ko1nksm !)
    • There is no upper limit to the level, but the maximum speed is still LEVEL_MAX (15).
  • Enhanced debugging features. (#62, #70) (thanks @ko1nksm !)
  • Disabled CTRL-S / CTRL-Q. (#92) (thanks @ko1nksm !)
  • Improved termination process. (#93) (thanks @ko1nksm !)
  • Improved flash color. (#95) (thanks @ko1nksm !)
  • Improved performance.
    • Remove printf from game main loop. (#71) (thanks @ko1nksm !)
    • Remove meaningless signals (SIGNAL_RESTART_LOCKDOWN_TIMER) to the lockdown timer. (#82)
    • Remove meaningless variable. (#94)
  • Refactoring (thanks @ko1nksm !)
    • draw_piece function. (#87)
    • around signal handling. (#96)
    • playfield initialization. (#100)

Bug Fixes

  • Fixed unexpected toggle color. (#63) (thanks @ko1nksm !)
  • Fixed high load on ksh93. (#66) (thanks @ko1nksm !)
  • The inputs during flash line effect will now been ignored. (#73) (thanks @ko1nksm !)
  • The inputs after game over will now been removed. (#74, #81) (thanks @ko1nksm !)
  • Fixed wrong calculation of lowest line (#82)
  • Fixed shell compatibility issues. (thanks @ko1nksm !)
    • Using POSIX mode to reduce difference behaviors. (#61)
    • Improved initialization and cleanup process. (#61)
    • New key input handling for better performance in ksh (#68)
    • Remove the leading zero of rand function. (#78)
    • Workaround for empty positional parameter reference. (#79)
    • No need to enter key when aborting with bash on macOS. (#83)
    • The old bash ignores the first space input. (#86)