Skip to content

A java code having a function that parses FE Notation and returns an Matrix.

License

Notifications You must be signed in to change notification settings

njkevlani/FEN-Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FEN-Parser

Sample input:
rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b

Output:
2 3 4 5 6 4 3 2
1 1 1 1 0 1 1 1
0 0 0 0 0 0 0 0
0 0 0 0 1 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
-1 -1 -1 -1 -1 -1 -1 -1
-2 -3 -4 -5 -6 -4 -3 -2

1 to 6 or -1 to -6 stands for different ranks in chess and 0 stands for rmpty location.

About

A java code having a function that parses FE Notation and returns an Matrix.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages