I\'m creating a chess game with java.
As you know when you start out the chess game you have two of each \"Captains\" (sorry I\'m not sure what the term is) I have c
I assume you tried OR by putting ||, but in switch case statements you cant use this operator. Therefore you just use if
if(j==1 || j==8){ Rook tower = new Rook(""); return tower.getBrik(); }else if(j==2 ||j==7 || j==6 || j==7){ Bishop bishop = new Bishop(""); return bishop.getBrik(); } . . .