All Projects → ContentsViewer → sh-tetris

ContentsViewer / sh-tetris

Licence: MIT license
The pure shell script (sh) that implements the Tetris game following the Tetris Guideline (2009).

Programming Languages

shell
77523 projects

Labels

Projects that are alternatives of or similar to sh-tetris

Tetris
A (incomplete) terminal Tetris. Written in Haskell.
Stars: ✭ 26 (-16.13%)
Mutual labels:  tetris
React Tetris
Use React, Redux, Immutable to code Tetris. 🎮
Stars: ✭ 6,770 (+21738.71%)
Mutual labels:  tetris
yafpgatetris
Yet Another Tetris on FPGA Implementation
Stars: ✭ 29 (-6.45%)
Mutual labels:  tetris
fumen-for-mobile-ts
Tetris diagram editor for mobile
Stars: ✭ 14 (-54.84%)
Mutual labels:  tetris
terminal-tetris
tetris written in C for linux terminal, featuring top notch ASCII graphics based on the original tetris game
Stars: ✭ 15 (-51.61%)
Mutual labels:  tetris
Tetris.jl
you know, for kids? 👾
Stars: ✭ 27 (-12.9%)
Mutual labels:  tetris
CppTetris
Tetris made within an hour
Stars: ✭ 104 (+235.48%)
Mutual labels:  tetris
UnityTetris
Tetris clone written in C# and using Unity engine to render.
Stars: ✭ 131 (+322.58%)
Mutual labels:  tetris
Tetris
Tetris in F#, dotnet core and MonoGame. Arcade sounds included!
Stars: ✭ 29 (-6.45%)
Mutual labels:  tetris
aseprite-macos-buildsh
Automated script to create latest release app (either beta, or release whichever is newer) of Aseprite for macOS
Stars: ✭ 143 (+361.29%)
Mutual labels:  sh
tetris-ai
A Tetris AI written in JavaScript that uses a genetic algorithm
Stars: ✭ 22 (-29.03%)
Mutual labels:  tetris
tetris
轻松10步用es6写出俄罗斯方块🎉
Stars: ✭ 30 (-3.23%)
Mutual labels:  tetris
Python-Games
A collection of small python games made by me using pygame and tkinter libraries
Stars: ✭ 121 (+290.32%)
Mutual labels:  tetris
Tetris AR
An AR Tetris (unity3d+vuforia)
Stars: ✭ 14 (-54.84%)
Mutual labels:  tetris
TetrisAI
The old school Tetris game in addition with an AI that learns evolutionary how to play this game
Stars: ✭ 24 (-22.58%)
Mutual labels:  tetris
nvim-tetris
Bringing emacs' greatest feature to neovim - Tetris!
Stars: ✭ 114 (+267.74%)
Mutual labels:  tetris
tetriss
Tetris clone written in JavaScript 🎮 https://antonioolf.github.io/tetriss/
Stars: ✭ 14 (-54.84%)
Mutual labels:  tetris
go-tetris
Golang Tetris for console window with optional AI
Stars: ✭ 67 (+116.13%)
Mutual labels:  tetris
tetris
Html5 tetris game, supports two players. 支持本地双人对战的html5俄罗斯方块游戏.
Stars: ✭ 13 (-58.06%)
Mutual labels:  tetris
Wortuhr ESP8266
Wortuhr mit ESP8266 WeMos D1 mini und NeoPixel WS2812B LEDs mit mp3 Sounds, Animationen, Transitions, Events und Spiele
Stars: ✭ 33 (+6.45%)
Mutual labels:  tetris

shtris

The pure shell script (sh) that implements the Tetris game following the Tetris Guideline (2009).

The aim is to understand more about shell script and Tetris algorithms.

Tetris Guideline. Tetris Wiki. accessed at 2020-05-23.

This script is based on dkorolev/bash-tetris.
Thank you!

I've implemented the following

  • Hold Queue
  • Next Queue
  • Random Generation with Bag System
  • Score System
  • Variable Goal System
  • T-Spin / Mini T-Spin
  • Back-to-Back Bonus
  • Extended Placement / Infinite Placement / Classic Lock Down
  • Super / Classic Rotation System
  • Changing the Starting Level
  • Ghost Piece

Usage

# Download (v3.0.0)
wget https://raw.githubusercontent.com/ContentsViewer/shtris/v3.0.0/shtris
chmod +x shtris

./shtris
Show Help
$ ./shtris -h

Usage: shtris [options]

Options:
 -d, --debug          debug mode
 -l, --level <LEVEL>  game level (default=1). range from 1 to 15
 --rotation <MODE>    use 'Super' or 'Classic' rotation system
                      MODE can be 'super'(default) or 'classic'
 --lockdown <RULE>    Three rulesets —Infinite Placement, Extended, and Classic—
                      dictate the conditions for Lock Down.
                      RULE can be 'extended'(default), 'infinite', 'classic'
 --seed <SEED>        random seed to determine the order of Tetriminos.
                      range from 1 to 4294967295.
 --no-color           don't display colors
 --no-beep            disable beep
 --hide-help          don't show help on start

 -h, --help     display this help and exit
 -V, --version  output version infromation and exit

Version:
 3.0.0

shtris

Enjoy :-)

Supported Environments

Environment Support
Linux sh o
FreeBSD sh o
BusyBox sh o
Solaris sh o (Almost works)

Author

IOE <Github: @ContentsViewer>

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].