Tetris/BASH: Difference between revisions

m
Fixed syntax highlighting.
(moved Tetris/BASH to separate page)
 
m (Fixed syntax highlighting.)
 
(4 intermediate revisions by 3 users not shown)
Line 1:
{{collection|Tetris}}
=={{header|BASH}}==
==Code==
<langsyntaxhighlight BASHlang="bash">#!/bin/bash
# Tetris Game
# 10.21.2003 xhchen
Line 129 ⟶ 130:
for ((i = 0; i < 21 - iLevel; i++))
do
usleep 20000 2>/dev/null || sleep 0.02
sigThis=$sig
sig=0
Line 447 ⟶ 448:
RunAsDisplayer
exit
fi </langsyntaxhighlight>
9,486

edits