|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.moyoman.util.igo.IgoBase | +--org.moyoman.module.proverbs.igoproverbs.GoProverbs
This class is responsible for finding moves from the proverbs of GO. The following proverbs have been implemented:
Field Summary |
Fields inherited from class org.moyoman.util.igo.IgoBase |
actCnt, AKI, boardSize, col, comStone, d1, d11, d111, d117, d118, d17, d18, d2, d22, d222, d225, d226, d25, d26, d3, d33, d333, d336, d338, d36, d38, d4, d44, d444, d445, d447, d45, d47, d5, d55, d555, d6, d66, d666, d7, d77, d777, d8, d88, d888, EDGE, EDGE_M, IRO_KEI, KURO, posLimit, posStart, SIRO, sizeBlk, sizeHan, sizeP1, tanMe, tanOp |
Constructor Summary | |
GoProverbs()
Constructor |
|
GoProverbs(int size)
Constructor |
Method Summary | |
void |
arrClone(Object obj)
Clone arrays. |
Object |
clone()
Get clone object. |
VecInt |
provCapAnsKei()
Get moves from the proverb [Answer the capping play with a knight's move]. |
VecInt |
provCenterOf3()
Get moves from the proverb [Play at the centre of three stones]. |
VecInt |
provExtCross()
Get moves from the proverb [Crosscut then extend]. |
VecInt |
provHaneEnd2()
Get moves from the proverb [hane at the end of two stones]. |
VecInt |
provHaneResAttach()
Get moves from the proverb [respond to attachment with hane]. |
VecInt |
provKeiAnsKosu()
Get moves from the proverb [Answer keima with kosumi]. |
VecInt |
provKeiTuki()
Get moves from the proverb [Cutting right through a knight's move is very big]. |
VecInt |
provResKata()
Get moves from the proverb [never ignore a shoulder hit]. |
void |
setBoardSizeProv(int size)
Set the size of board and related variables. |
Methods inherited from class org.moyoman.util.igo.IgoBase |
absYokoTate, aki, aki, aki, aki, aki, aki, aki, aki4Slant4, ccTable, ccTable, clearColor, empty, empty4, empty8, igoPos, info, iro, iro4, iroSlant4, moyoX, moyoY, setBoardSize, setData |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GoProverbs()
public GoProverbs(int size)
size
- Size of the board.Method Detail |
public void setBoardSizeProv(int size)
size
- The size of the Board.public Object clone()
clone
in class IgoBase
public void arrClone(Object obj)
arrClone
in class IgoBase
public VecInt provHaneEnd2()
public VecInt provHaneResAttach()
public VecInt provResKata()
public VecInt provKeiTuki()
public VecInt provExtCross()
public VecInt provCapAnsKei()
public VecInt provKeiAnsKosu()
public VecInt provCenterOf3()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |