Internet Chess ToolKit
v0.2.0

ictk.boardgame.io
Interface BoardNotation

All Known Subinterfaces:
ChessBoardNotation
All Known Implementing Classes:
FEN

public interface BoardNotation

an interface for converting board representations to Strings and back again.


Method Summary
 java.lang.String boardToString(Board b)
          converts the Board into a String representation.
 Board stringToBoard(java.lang.String s)
          converts String notation into a Board for the particular game in question.
 

Method Detail

stringToBoard

public Board stringToBoard(java.lang.String s)
                    throws java.io.IOException
converts String notation into a Board for the particular game in question.

Throws:
java.io.IOException

boardToString

public java.lang.String boardToString(Board b)
converts the Board into a String representation.


Submit a bug or feature
Visit the Website
Internet Chess ToolKit is licensed under the GPL v2 .