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 7049205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:59:05+00:00 2026-05-28T02:59:05+00:00

implementing code for customized mini(less squares, less pieces ) chess board in java or

  • 0

implementing code for customized mini(less squares, less pieces ) chess board in java or c++ or even in c#

I just want help for making best moves. and I don’t need any graphical interface.

enter image description here

input will be given as

"rnkrrppp*****PPPRNKNR"

where

Pawns: P

Rooks: R

Knights: N

King: K

here small letters represents black pieces and capital letters represents white pieces and "*" represents empty square

and output like

a2a3

if best move happened from

a2 to a3

by application only. for every move.

in this no inter face is required because we give input direct as string.

first I started to understand 8*8 chess board programming in java, c++ ,c# but I facing problem to understanding in some cases.

many source codes which seen is attempting moves with predefined best moves list.

and don’t have a particular idea to solve this. I want suggestion start this and make this solved.

thanks. and sorry for poor english

  • 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-28T02:59:06+00:00Added an answer on May 28, 2026 at 2:59 am

    You need to study how alpha beta pruning works. There is a lot of literature about chess programming, I suggest you to start from here. As a very little example, look at my project here. I pointed to a file that is a test in finding a best move. My engine is not optimized, but simple enought to get how it works. It does not mind if you are using a reduced keyboard, the algorithm is the same as soon you created a proper move generator and a keyboard evaluator ( usually material value is enought ).

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

Sidebar

Related Questions

I am implementing some code and I want to run it in regular time(auto
I'm implementing some code using the java.util.concurrency framework. I will be passing a collection
I'm implementing some code generators, i would like to know if there's any way
Am having a number of problems implementing the code from the Washington Post site
What best practices should be observed when implementing HDL code? What are the commonalities
My form doesn't have a title bar, so I am implementing the code to
implementing publishActivity in PHP using the REST API using this code: $activity = array(
I'm updating my code generator and have a choice between implementing a method stub
When implementing the Strategy Pattern, where does one put the code that determines which
I'm implementing a small HTTP server with Ruby using Mongrel. My code currently looks

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.