Compare commits
17 Commits
Author | SHA1 | Date | |
---|---|---|---|
d73481a5ea | |||
d2f88d85ac | |||
4a23999962 | |||
fe917635d6 | |||
11b414bab1 | |||
f90fb177f6 | |||
5637d8e28e | |||
8dd1721bab | |||
847e578297 | |||
f71ccad4e5 | |||
30a692e7af | |||
9f876a7428 | |||
b9fd8ae3d8 | |||
37fc5bf5d8 | |||
7132379b33 | |||
f14f60d261 | |||
a7262890d0 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/bin/
|
||||
/bin/
|
||||
/releases/
|
||||
|
13
README.md
Normal file
13
README.md
Normal 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
|
||||

|
||||
### In XBoard
|
||||

|
Binary file not shown.
BIN
docs/screenshot-terminal.png
Normal file
BIN
docs/screenshot-terminal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
BIN
docs/screenshot-xboard.png
Normal file
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
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