Summary

Guesst Talking Pet

Offline Offline
Posts:
272 (0.045 per day)
Personal Text:
Ancient Shofixti Warrior
Karma:
6
Gender:
Male
Age:
43
Location:
Colorado, United States
Date Registered:
May 21, 2003, 05:41:07 am
Local Time:
November 18, 2019, 10:51:48 pm
Last Active:
September 29, 2009, 12:35:35 pm
Signature:
main(){char b[11]="\toooo.OOOO";int e=5,n,t=0;puts("\t123456789");puts(b);for(;n
&&strcmp("\tOOOO.oooo",b);puts(b)){n=getche();if(n-='0'){if(n>0&&n<=9&&(abs(n-e)
==2||abs(n-e)==1)){b[e]=b[n];b[n]='.';e=n;t++;}}}if(n)printf("\n%d moves\n",t);}