Compare commits

...

15 Commits

  1. 3
      .gitignore
  2. 13
      README.md
  3. BIN
      docs/2006 Dissertation - Programmimg a Suicide Chess playing program.pdf
  4. BIN
      docs/screenshot-terminal.png
  5. BIN
      docs/screenshot-xboard.png
  6. 4
      resources/match_sjeng.sh
  7. 3
      resources/match_sushi.sh
  8. 3
      resources/sushi_xboard.sh
  9. 2
      src/suicideChess/SuicideChess.java

3
.gitignore

@ -1 +1,2 @@
/bin/
/bin/
/releases/

13
README.md

@ -0,0 +1,13 @@
# Sushi
## Introduction
Sushi is a Suicide Chess program I wrote back in 2006 during my compsci studies. My [dissertation](https://djib.fr/djib/Sushi/raw/branch/master/docs/2006%20Dissertation%20-%20Programmimg%20a%20Suicide%20Chess%20playing%20program.pdf) is available in the `docs` folder. It will probably help anyone who wishes to contribute or fork my program.
It can either be used from the command line or using [XBoard](https://en.wikipedia.org/wiki/XBoard) as a graphical interface.
I share the code freely under a [GPLv3 licence](https://en.wikipedia.org/wiki/GNU_General_Public_License#Version_3).
## Screenshots
### In a terminal
![Sushi in an terminal](https://djib.fr/djib/Sushi/raw/branch/master/docs/screenshot-terminal.png)
### In XBoard
![Sushi in XBoard](https://djib.fr/djib/Sushi/raw/branch/master/docs/screenshot-xboard.png)

BIN
docs/2006 Dissertation - Programmimg a Suicide Chess playing program.pdf

Binary file not shown.

BIN
docs/screenshot-terminal.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
docs/screenshot-xboard.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

4
resources/match_sjeng.sh

@ -1,3 +1,3 @@
#!/bin/bash
source /home/djib/.basheditor/remote-debugging-v1.sh localhost 33333 #BASHEDITOR-TMP-REMOTE-DEBUGGING-END|Origin line:#!/bin/bash
# Shell script to make sjeng play against Sushi
xboard -tc 0:10 -thinking -debug -firstChessProgram suicideChess -secondChessProgram sjeng -variant suicide
xboard -mode twomachines -tc 0:10 -thinking -debug -firstChessProgram "java suicideChess/SuicideChess" -secondChessProgram sjeng -variant suicide

3
resources/match_sushi.sh

@ -0,0 +1,3 @@
#!/bin/sh
# Shell script to have Sushi play against itself
xboard -mode twomachines -thinking -firstChessProgram "java suicideChess/SuicideChess" -secondChessProgram "java suicideChess/SuicideChess" -variant suicide -debug

3
resources/sushi_xboard.sh

@ -1,3 +0,0 @@
#!/bin/sh
# Start XBoard to play against Sushi
xboard -thinking -firstChessProgram suicideChess -secondChessProgram suicideChess -variant suicide -debug

2
src/suicideChess/SuicideChess.java

@ -99,7 +99,7 @@ public class SuicideChess {
/**
* The name to be displayed
*/
public static final String NAME = "djib's SuShi v1.0.5";
public static final String NAME = "djib's SuShi v1.0.6";
/**
* Displays informations in the console.

Loading…
Cancel
Save