-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtetris.c
11 lines (11 loc) · 891 Bytes
/
tetris.c
1
2
3
4
5
6
7
8
9
10
11
m[444],c,x;main(o,a){for(system("stty cbreak -echo min 0"),srand(a);o=f();o<42?a
=(x=o/2%7)<3?x:x<4?f():x<5?m[f()<23?x:m[x-23]]:x<6?read(0,m,1):rand()%f(),m[x=o%
2?f():m[6]++]*=o<28,a=m[x]+=o>13?a:-a:o<45?putchar(o%3?o%2*75+f():a):o<63?f(),c=
!a^o/54?x+o%9*75:c:usleep(20000));system("stty sane");}f(){return x=c++["NCRM7@\
BD;527e4R37Q<Q9M27e@Q:OQ9MQ9Q;MQ9OMQ;Q9B7MQEQ:Q:OM27e^MQEMQ:OQ8KMQEOQ8OMQDMKQ:O\
MMQDQ:OQ:P7KMQ;OQ:Q927fDP7MMQ8MQ;Q:27fSRE5RE<Q6D952<ffR;<Q62<fr[JZ?[a[y`KT=>T?@\
LD2C^_L/V<gE6J/c?6U/g[68?^[D;?2/ggD:=NDTBC2/gm@=2/gs2=P8RE5RF<R;;TL747h?47K25T=\
9D;9859_iTA:F?:T=9R26FQ9859_iF59@:26hV`<B7`8RI98=9c?>D`0N8T@?T>=guS825=2;h3252<\
h028k6RI=X66DM6R;9LAF6A29iYX2?T?9F9?F9?RE5RE<TL7=27c?2<irR[5RD<=R9;R97N98L9jI27\
=2;j@>7k2T5;N558aW25C9T;5>0jh2BT5;T576:7SN456F7jkT;52<j9[JZ?[j[wR[5RD<R;;[JZ?[c\
TL7D_7YZQ[O[O=2;kG25[92<kD[JZ?ZQR45TL9l/25kp=TL9D_9Y25l/[9n^7/"]-47;}/*********/