bash games – no kidding!

bash is a serious language 😀😎👍⭐⭐⭐⭐⭐❤️☕

while it might not be your first choice when it comes to creating games.

it’s awesome what people put together on the command line!

bash tetris – works FLAWLESS 🙂

the russian Original:

super retro theme

# download
wget https://dwaves.de/games/bash/tetris.timofeev.sh
# mark runnable
chmod +x tetris.timofeev.sh
# run it
./tetris.timofeev.sh

a colorful copy:

needs usleep. If there is no usleep for your linux, you can imitate it by creating a script

echo "sleep 0.1" > /usr/bin/usleep
chmod +x /usr/bin/usleep

creditz go to: # 10.21.2003 xhchen <xhchen@winbond.com.tw

links: http://read.pudn.com/downloads99/sourcecode/game/404711/tetris.sh__.htm

Made in Taiwan? http://www.pudn.com/

setup:

# download
wget https://dwaves.de/games/bash/tetris.sh
# inspect code, to check if it is hiding evil
vim tetris.sh
# if not proceed
# mark runnable
chmod +x tetris.sh
./tetris.sh

bash snake

pretty neat.

creditz: # Centipede game # v2.0 # Author: sol@subnetzero.org

setup:

# download
wget https://dwaves.de/games/bash/snake.sh
# mark runnable
chmod +x snake.sh
# run it
./snake.sh

the history-origins of tetris:

 

this seems to be a screenshot from the soviet tetris implementation?

this one also looks pretty neat, as the original Tetris and Tetris Song was created by a Russian… logic commands, this Tetris in Bash implementation comes from a Russian:

#!/bin/bash

# Tetris game written in pure bash
# I tried to mimic as close as possible original tetris game
# which was implemented on old soviet DVK computers (PDP-11 clones)

DVK (Russian: ДВК, Диалоговый вычислительный комплекс, Dialogue Computing Complex) is a Soviet PDP-11-compatible personal computer.

The design is also known as Elektronika MS-0501 and Elektronika MS-0502.

Earlier models of DVK series were based on K1801VM1 or K1801VM2 microprocessors with 16 bit address bus. In the later models, the KM1801VM3 microprocessor (with 22 bit extended address bus) was used.

See also

… that of course… were able to run TETRIS!

# Videos of this tetris can be found here:
http://www.youtube.com/watch?v=O0gAgQQHFcQ

https://www.youtube.com/watch?v=iIQc1F3UuV4
# This script was created on ubuntu 13.04 x64 and bash 4.2.45(1)-release.
# It was not tested on other unix like operating systems.
# Enjoy :-)!
# Author: Kirill Timofeev <kt97679@gmail.com>


https://en.wikipedia.org/wiki/Classic_Tetris_World_Championship

The Tetris Song

deeply philosophical Tetris memes

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin