![]() |
#12 | ||
![]() ![]() ![]() ![]() ![]() Join Date: May 2005
Location: ,
Posts: 6
|
![]() mpej.unige.ch/~coppex/download/FaeryTaleENG.pdf
a PDF file containing a complete walkthrough for the game! pretty usefull!
__________________
main(){long l[16],c,d,t;srand(time(0));for(t=d=c=0;c<16;c++){while( 1<<(l[c]=rand ()%16+1)&d);d|=1<<l[c];}for (;c>0;printf ("%2d ",l[--c]));do{printf("? ");scanf( "%d",&d);if(d>1&&d<=16){for (c=0;c<(d/2);c++){l[c]^=l[d-c-1];l[d-c-1]^=l[c];l[c] ^=l[d-c-1];}t++;}for(c=16;c>0;printf("%2d ",l[--c]));for(c=0;c<15&&l[c]>l[c+1];c ++);}while(d&&c<15);if(d)printf("\nYou won in %d moves!",t);} /*What is this?*/ |
||
![]() ![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Faery Tale Adventure 2 - Halls Of The Dead | Tom Henrik | Games Discussion | 77 | 28-03-2012 05:42 PM |
Faery Tale Adventure 2 | schwartr | Troubleshooting | 1 | 04-09-2006 10:06 AM |
Faery Tale Adventure | geron | Troubleshooting | 1 | 21-09-2005 03:06 PM |
|
|
||
  |