0 Members and 2 Guests are viewing this topic.
Guys, You can get chess for the gbc.A)It runs at 100% so speed is not a problemB)Even if it didn't it does not matter as it is chessThe AI is depends on the ROM. Not worth the effort.
EDIT: in fact, NspireIO does provide putchar() and getchar(): http://nspforge.unsads.com/p/nspireio/wiki/Documentation . Go ahead, those who use an up to date Ndless SDK
char*l="ustvrtsuqqqqqqqqyyyyyyyy}{|~z|{}"" 76Lsabcddcba .pknbrq PKNBRQ ?A6J57IKJT576,+-48HLSU";#include <os.h>#define NIO_REPLACE_STDIO#include <nspireio2.h>#define F getchar()&z#define v X(0,0,0,21,#define Z while(#define _ ;if(#define P return--G,y^=8,int _isatty(int file) { (void)file; // avoid warning return 1;}B,i,y,u,b,I[411],*G=I,x=10,z=15,M=1e4;X(w,c,h,e,S,s){int t,o,L,E,d,O=e,N=-M*M,K=78-h<<x,p,*g,n,*m,A,q,r,C,J,a=y?-x:x;y^=8;G++;d=w||s&&s>=h&&v 0,0)>M;do{_ o=I[p=O]){q=o&z^y _ q<7){A=q--&2?8:4;C=o-9&z?q["& .$ "]:42;do{r=I[p+=C[l]-64]_!w|p==w){g=q|p+a-S?0:I+S _!r&(q|A<3||g)||(r+1&z^y)>9&&q|A>2){_ m=!(r-2&7))P G[1]=O,K;J=n=o&z;E=I[p-a]&z;t=q|E-7?n:(n+=2,6^y);Z n<=t){L=r?l[r&7]*9-189-h-q:0 _ s)L+=(1-q?l[p/x+5]-l[O/x+5]+l[p%x+6]*-~!q-l[O%x+6]+o/16*8:!!m*9)+(q?0:!(I[p-1]^n)+!(I[p+1]^n)+l[n&7]*9-386+!!g*99+(A<2))+!(E^y^9)_ s>h||1<s&s==h&&L>z|d){p[I]=n,O[I]=m?*g=*m,*m=0:g?*g=0:0;L-=X(s>h|d?0:p,L-N,h+1,G[1],J=q|A>1?0:p,s)_!(h||s-1|B-O|i-n|p-b|L<-M))P y^=8,u=J;J=q-1|A<7||m||!s|d|r|o<z||v 0,0)>M;O[I]=o;p[I]=r;m?*m=*g,*g=0:g?*g=9^y:0;}_ L>N){*G=O _ s>1){_ h&&c-L<0)P L _!h)i=n,B=O,b=p;}N=L;}n+=J||(g=I+p,m=p<O?g-3:g+2,*m<z|m[O-p]||I[p+=p-O]);}}}}Z!r&q>2||(p=O,q|A>2|o>z&!r&&++C*--A));}}}Z++O>98?O=20:e-O);P N+M*M&&N>-K+1924|d?N:0;}main(){ nio_use_stdio(); Z++B<121)*G ++=B/x%x<2|B%x<2?7:B/x&4?0:*l++&31;Z B=19){Z B++<99)putchar(B%x?l[B[I]|16]:x)_ x-(B=F)){i=I[B+=(x-F)*x]&z;b=F;b+=(x-F)*x;Z x-(*G=F))i=*G^8^y;}else v u,5);v u, 1);} nio_free_stdio();}
Do you mean warnings as in errors or warnings as in copyright lawsuit threats if re-used as is?
Care to give us the exact name (not a download) of the ROM/game in question?
Also Augs what if someone wanted to make a better Chess game? By the way it is against Omnimaga rules to discourage someone from working on a project under such circumstances.
I am looking into creating a chess game for ndless. There are plenty of tutorials around on the web, so I think I can do this
Quote from: aeTIos on November 01, 2012, 08:12:43 amI am looking into creating a chess game for ndless. There are plenty of tutorials around on the web, so I think I can do this I've just spotted the source code for a simple chess game written in C/SDL, here: http://www.thomasdupuis.com/portfolio/en/2010/03/23/chess-game-project-1st-year-prepa/ . Do you think it can help? Go ahead and do it! Cheers.'Ik zal wachten'