はっくはっくキッチン
Hack Hack Kitchen

Curses based 15-Puzzle

 2021/09/04
+--++--++--++--+
|15||11|| 5|| 3|
+--++--++--++--+
+--++--++--++--+
|13||14|| 9|| 1|
+--++--++--++--+
+--++--++--++--+
| 4|| 8||10|| 7|
+--++--++--++--+
+--++--++--+
| 2||12|| 6|
+--++--++--+

インストール

git clone https://github.com/TPKato/15puzzle
make
touch /var/games/15puzzle.score
chmod 666 /var/games/15puzzle.score	# This might be insecure!

スコアファイルの場所を変更するには、 15puzzle.c を編集するか、 -DSCOREFILE=\"...\" オプションを使用して下さい。

遊び方

./15puzzle

コマンドラインオプション

-r

リバースモード

-x

タイル幅

-y

タイル高さ

-s

スコア表示

-h

ヘルプ

キーバインド

括弧内は -r オプション指定時

h

左 (右 = 空きマスを左に動かす)

j

下 (上)

k

上 (下)

l

右 (左)

ライセンス

  • MIT License