File: pytris.sh

package info (click to toggle)
pytris 0.96
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 128 kB
  • ctags: 70
  • sloc: python: 934; makefile: 43; sh: 41; ansic: 8
file content (16 lines) | stat: -rwxr-xr-x 215 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
while : ; 
do
    pytris $*
    dialog --title "pytris" --clear \
           --yesno "Do you want to play again?" 5 61

    case $? in
        1)
        exit;;
        255)
        exit;;
    esac

done