com.alonsoruibal.chess.bitboard
Class JSONAttackGenerator

java.lang.Object
  extended by com.alonsoruibal.chess.bitboard.JSONAttackGenerator
All Implemented Interfaces:
com.alonsoruibal.chess.bitboard.AttackGenerator

public class JSONAttackGenerator
extends Object
implements com.alonsoruibal.chess.bitboard.AttackGenerator


Constructor Summary
JSONAttackGenerator()
           
 
Method Summary
static int magicTransform(long b, long magic, byte bits)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONAttackGenerator

public JSONAttackGenerator()
Method Detail

run

public void run()
Specified by:
run in interface com.alonsoruibal.chess.bitboard.AttackGenerator

magicTransform

public static int magicTransform(long b,
                                 long magic,
                                 byte bits)


Copyright © 2010. All Rights Reserved.