Search:

Type: Posts; User: MineeMo

Search: Search took 0.17 seconds.

  1. Re: Simple chess program (no AI) - Need help with structuring my code

    Hi! Again, thanks very much! Sorry to bother you once more!

    I've decided to include piece movement rules in every piece-subclass class. Should I use an abstract method for that, like:

    protected...
  2. Re: Simple chess program (no AI) - Need help with structuring my code

    Hi. Thank you very much for your reply!
    I think I got i now :D

    This is the changes I made:

    Piece-class:

    import javax.swing.ImageIcon;
    import javax.swing.JLabel;
  3. Re: Simple chess program (no AI) - Need help with structuring my code

    Hi, thanks for your reply.

    Does that mean that I should make a constructor in the abstract piece class with x, y, icon and pieceholder parameters? If I do that eclipse tells me the Pawn class...
  4. Simple chess program (no AI) - Need help with structuring my code

    Hi everyone. I hope this is the right forum to post this.

    I'm not really good at java and this is my first project.

    I'm trying to make a simple chess program. It's not finished yet. What you...
Results 1 to 4 of 4