Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6192011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:52:15+00:00 2026-05-24T02:52:15+00:00

I am looking for a an API to generate legal moves validation in chess,

  • 0

I am looking for a an API to generate legal moves validation in chess, preferably in the Java language.

I could write my own but it would be a naive implementation, and it would be slow. So I need a working library allowing more or less the following operations:

Board board = new Board();
board.reset();
board.isMoveLegal(playerNum, fromSquare, toSquare);
board.inputMove(playerNum, fromSquare, toSquare);

What I want to avoid is having to browse a full chess game’s code source with GUI, internet connectivity, or other functions than move generation. It would be a big waste of time for me and I’d rather spend a few hours to program my own move validator, no matter how slow. I also don’t need any guidelines for writing my own library, as I have found plenty of which on the internet.

I’m asking this here because I have run several searches on google and didn’t find what I was looking for. So it would be nice of you to point me out a link to such a working code if you knew any. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T02:52:15+00:00Added an answer on May 24, 2026 at 2:52 am

    See ChesspressoTM. Specifically Move.isValid().

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a very simple form processing API for Java. Assuming the form
I'm looking for a framework to generate Java source files. Something like the following
I'm looking for a Java API which can be used to retreive Maven artifacts
I was looking at the API documentation for stl vector, and noticed there was
I am looking for an API that can remove bundle items added in a
I am looking for an API to monitor the tasks running on a plain
I am looking into MapQuest API for OpenStreetMap and it seems to be a
With the launch of Google Drive, i have been looking over the API and
Looking for a RAM disk API (or equivalent set of software to implement) to
I was just looking to develop .NET WCF API. We may need to frequently

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.