Compare commits

17 Commits

Author SHA1 Message Date
d73481a5ea Updated url after migration 2024-10-20 12:31:44 +02:00
d2f88d85ac Fix links after git migration 2024-02-29 16:22:15 +01:00
4a23999962 Add image description 2019-10-19 17:01:41 +02:00
fe917635d6 Add image description 2019-10-19 17:01:04 +02:00
11b414bab1 Fix image links 2019-10-19 16:59:58 +02:00
f90fb177f6 Adding screenshots 2019-10-19 16:58:15 +02:00
5637d8e28e Add screenshots 2019-10-19 16:56:18 +02:00
8dd1721bab Updated documentation 2019-09-25 07:04:41 +02:00
847e578297 Removed previous version containing errors 2019-09-25 06:53:51 +02:00
f71ccad4e5 Update documentation 2019-09-25 06:43:48 +02:00
30a692e7af Merge branch 'master' of https://djib.fr/djib/Sushi 2019-09-25 06:35:09 +02:00
9f876a7428 Update .gitignore to exclude /releases 2019-09-19 22:38:55 +02:00
b9fd8ae3d8 Correct shell scripts not running properly 2019-08-26 22:24:16 +02:00
37fc5bf5d8 Add a link to the dissertation 2019-08-25 17:03:53 +02:00
7132379b33 Merge branch 'master' of https://djib.fr/djib/Sushi 2019-08-25 17:00:23 +02:00
f14f60d261 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
9 changed files with 21 additions and 7 deletions

3
.gitignore vendored
View File

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

13
README.md Normal file
View File

@ -0,0 +1,13 @@
# Sushi
## Introduction
Sushi is a Suicide Chess program I wrote back in 2006 during my compsci studies. My [dissertation](https://git.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://git.djib.fr/djib/Sushi/raw/branch/master/docs/screenshot-terminal.png)
### In XBoard
![Sushi in XBoard](https://git.djib.fr/djib/Sushi/raw/branch/master/docs/screenshot-xboard.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
docs/screenshot-xboard.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

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.