Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Board Orientation. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Chess/.project
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,15 @@
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<filteredResources>
<filter>
<id>1663447756237</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
Binary file modified Chess/bin/chess/Cell.class
Binary file not shown.
Binary file modified Chess/bin/chess/Main$1.class
Binary file not shown.
Binary file modified Chess/bin/chess/Main$Handler.class
Binary file not shown.
Binary file modified Chess/bin/chess/Main$SelectHandler.class
Binary file not shown.
Binary file modified Chess/bin/chess/Main.class
Binary file not shown.
Binary file modified Chess/bin/chess/Player.class
Binary file not shown.
Binary file modified Chess/bin/pieces/Pawn.class
Binary file not shown.
4 changes: 2 additions & 2 deletions Chess/src/chess/Cell.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ public Cell(int x,int y,Piece p)
setLayout(new BorderLayout());

if((x+y)%2==0)
setBackground(new Color(113,198,113));
setBackground(Color.white);

else
setBackground(Color.white);
setBackground(new Color(113,198,113));

if(p!=null)
setPiece(p);
Expand Down
8 changes: 4 additions & 4 deletions Chess/src/chess/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -235,13 +235,13 @@ else if(i==7&&j==2)
else if(i==7&&j==5)
P=wb02;
else if(i==0&&j==3)
P=bk;
else if(i==0&&j==4)
P=bq;
else if(i==0&&j==4)
P=bk;
else if(i==7&&j==3)
P=wk;
else if(i==7&&j==4)
P=wq;
else if(i==7&&j==4)
P=wk;
else if(i==1)
P=bp[j];
else if(i==6)
Expand Down
Binary file added chessgamedata.dat
Binary file not shown.
817 changes: 817 additions & 0 deletions hs_err_pid29456.log

Large diffs are not rendered by default.

7,609 changes: 7,609 additions & 0 deletions replay_pid29456.log

Large diffs are not rendered by default.