Compare commits

5 Commits

Author SHA1 Message Date
c225aecefa Correct shell scripts not running properly 2019-08-26 22:24:16 +02:00
626e0906a4 Add a link to the dissertation 2019-08-25 17:03:53 +02:00
03a509b09b Merge branch 'master' of https://djib.fr/djib/Sushi 2019-08-25 17:00:23 +02:00
df3255ab53 Add a document to help anyone interested in Sushi grasp its main
concepts.
2019-08-25 16:58:15 +02:00
a7262890d0 Add basic README file 2019-08-24 00:38:36 +02:00
6 changed files with 12 additions and 6 deletions

6
README.md Normal file
View File

@ -0,0 +1,6 @@
# Sushi
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).

4
resources/match_sjeng.sh Normal file → Executable file
View File

@ -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 Executable file
View File

@ -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

View File

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

View File

@ -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.