📄 readme
字号:
Chinese Checkers README
This software is Chinese Checkers 0.2.4.
Oh, I love GPL
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License, or (at your option) any later version.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public
License along with this program; if not, write to the Free
Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
MA 02111-1307, USA.
Compile and develop infomation
It can run in Windows and Linux. You can use Dev-C++ to compile it
in Windows; and you can type "g++ main.cpp -lpthread -ncurses" to
compile it in Linux. By this time I don't know howto write makefile.
Because of the NCURSES, I write some simple dialogs for Linux. I
hope that it's easy to be used. Maybe, I can write some other dialogs
or menus for Windows too. It's a good idea to support command-line
option.
Game setting
The chessboard's size is one of 6, 8 and 10. 8 is the normal size,
with 10 chesses; 6 is a little small with, with only 6 chesses; 10 is
very big, with 15 chesses.
If there're groups, a group will win until all players of this group
finished. No group means every player is a group.
Long jump means that you can jump from A to B like 'A..o..B'. I
like this. If long jump is off, you can jump only from A to B like
'AoB'.
Stay limit mean that you can't stay in other players' home.
How to move chess
This program runs in the console, both of Windows and Linux. You
can use nine keys which are from 1 to 9 in the numpad. It's the same
for you using the number keys.
The key 5 is used to change the move modes, STEP mode and DIRECT
mode. In the STEP mode, you can jump from one hole to another by
youself. Is the DIRECT mode, all holes that you can jump are marked,
so you can select one.
The key 8 and 2 are used to change the chess which you want to move.
It's the same in two modes.
In STEP mode, the six keys, 1, 4, 7, 3, 6 and 9, show the six
directions of the chessboard. In DIRECT mode, the two keys, 4 and 6,
are used to select one hole.
If you have moved chess to final hole, press alpha key O to finish.
You can press key Q to quit this game while you can move chesses.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -