Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
c225aecefa | |||
626e0906a4 | |||
03a509b09b | |||
df3255ab53 | |||
a7262890d0 |
6
README.md
Normal file
6
README.md
Normal 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).
|
Binary file not shown.
4
resources/match_sjeng.sh
Normal file → Executable file
4
resources/match_sjeng.sh
Normal file → Executable 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
3
resources/match_sushi.sh
Executable 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
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Start XBoard to play against Sushi
|
||||
xboard -thinking -firstChessProgram suicideChess -secondChessProgram suicideChess -variant suicide -debug
|
@ -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.
|
||||
|
Reference in New Issue
Block a user