Skip to content

ldc405/go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

Tetris Game // All the features except pause and resume are available now 
=========================================================================

#####################################################################
#                                                                   #
# License: Boost Ver 1.0+                                           #
# Project: https://github.com/yongye/go                             #
# Project: https://github.com/yongye/cpp                            #
# Project: https://github.com/yongye/shell                          #
# Author : YongYe <complex.invoke@gmail.com>                        #
#                                                                   #
#####################################################################

Detailed game Screenshots and the core Algorithm were offered by the one developed in Shell

Compile the source code : 
   6g -o tmp Tetris_Game.go
   6l -o Tetris_Game tmp
   rm -f tmp
   strip Tetris_Game

Run the game :
   runlevel     :  Complexity of the pieces             ( Default value is 31 )
   previewlevel :  Number of the pieces to be previewed ( Default value is 6  )
   speedlevel   :  Speed of the current piece's descent ( Default value is 0  )
   width        :  Width of the game area               ( Default value is 25 )
   height       :  Height of the game area              ( Default value is 30 )

   Usage        :  ./Tetris_Game [runlevel] [previewlevel] [speedlevel] [width] [height]
   Range        :  [ 0 <= runlevel <= 31 ]   [ previewlevel >= 1 ]   [ speedlevel <= 30 ]   [ width >= 17 ]   [ height >= 10 ]
   Notice       :  runlevel previewlevel speedlevel width height belong to integer

About

Tetris Game // Generalized Tetris

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published