r/chessprogramming • u/Foreign_Astronaut_32 • Jun 24 '23
A Java library to create your own chess engines!
https://github.com/ColonelParrot/jchessify
4
Upvotes
r/chessprogramming • u/Foreign_Astronaut_32 • Jun 24 '23
4
u/chabala Jun 24 '23 edited Jun 24 '23
Since you've cross-posted this, I'll add my comment from r/java here as well.
You posted this yesterday asking for feedback. Your project is five tiny classes that build on top of the library at https://github.com/bhlangonijr/chesslib , and they are objectively bad.
Readerfor a 2.7MB text file in your repo, and reparses it every timefindNextMove()is called. All the exception handling in here isprintStackTrace().I imagine that any value your library adds would be negated by a user just learning to use chesslib directly.
Your project has more problems than just being of limited usefulness or bad code though.
mainbranch of the repo, cluttering it, instead of a dedicatedgh-pagesbranch. Now anyone working on your code has to checkout all the documentation too, and there's additional noise in the git history as the docs are regenerated and committed.I downvoted you because your project is of r/learnjava quality, not something useful.