User Profile

Collapse

Profile Sidebar

Collapse
tommy34
tommy34
Last Activity: Oct 12 '06, 09:41 AM
Joined: Sep 26 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • tommy34
    replied to chessboard
    in Java
    Hello,
    the problem is i keep getting ArrayIndexOutOf BoundsException and i dont know how to fix it. Any suggestions how to improve would be nice
    Code:
    import java.io.*;
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.IOException;
    
    public class pirmaUzd {
        public static String[][] board;
        public static String[] str;
        private static
    ...
    See more | Go to post

    Leave a comment:


  • tommy34
    started a topic chessboard
    in Java

    chessboard

    I'm new to java and any help will be appreciated. Problem is i dont know even where to start.

    I need to write a program that reads a chessboard configuration and identifies whether a king is under attack (in check). A king is in check if it is on square which can be taken by the opponent on his next move.

    White pieces will be represented by uppercase letters, and black pieces by lowercase letters. The white side will...
    See more | Go to post
No activity results to display
Show More
Working...