Steinar H. Gunderson
Steinar H. Gunderson
@mroh69: I tried your branch on a sample game, but I can't get it to work: ```javascript c = new Chess("1br1brkn/pp1ppp1p/1n4p1/2p5/P2N2P1/R7/1PPPPP1P/1BRKBQ1N w Q - 6 7"); c.move("Nf3"); c.move("d5"); c.move("b3"); c.move("f6");...
Sorry, the first example is wrong; it actually works correctly in your branch. However, this one doesn't: ```javascript var c = new Chess("nbrkbqrn/pppppppp/8/8/8/8/PPPPPPPP/NBRKBQRN w KQkq - 0 1"); c.move("c4"); c.move("f5");...
@mroh69: This still looks wrong to me. Now moving any rook to the left of the king will clear queenside castling. You really need to keep track of which rooks...
Sure, but FEN or not, your current patch still does not handle this kind of situation as far as I can see: ```javascript var c = new Chess("nbrkbqrn/pppppppp/8/8/8/8/PPPPPPPP/NBRKBQRN w KQkq...
I took your patch and fixed some bugs (including some that affected non-960), added the required FEN support and adjusted the code so it should be a bit closer to...
> The sesse-patch doesn't follow the conventions used by other programs which support Chess960 (Chessbase for one). > For 960-games, the castling rights are always provided in "Shredder-form" as HAha...
OK, so basically you want whatever Chessbase outputs, but I'm not sure whether you need a full new patch for that, versus adding options to one of the ones that...
Oh doh, of course this is because 17 can be done as a LEA instruction instead of a mul. So perhaps this was too optimistic?
FWIW, it seems Math::Trig already has this. I've used something like ``` my $pihalf = Math::Trig::pi / 2; my $lon1 = Math::Trig::deg2rad($geoloc->{'lon'}); my $lat1 = $pihalf - Math::Trig::deg2rad($geoloc->{'lat'}); my $lon2...
On Tue, Oct 06, 2020 at 05:56:10AM -0700, faridosc wrote: > Hi @sesse sorry to bother you with this, I am trying to compile everything > from clean and building...