feat: onitama rules & cards

This commit is contained in:
hypercross 2026-04-07 14:40:44 +08:00
parent a84aa2426b
commit 4cb9f2dbd6
2 changed files with 147 additions and 0 deletions

View File

@ -0,0 +1,100 @@
# pattern forms a grid of 5x5
# o is the move's starting postion
# x are move end position candidates
# . is space
name,startingPlayer,row,pattern
tiger,black,0,..x..
tiger,black,1,.....
tiger,black,2,..o..
tiger,black,3,..x..
tiger,black,4,.....
dragon,red,0,.....
dragon,red,1,x...x
dragon,red,2,..o..
dragon,red,3,.x.x.
dragon,red,4,.....
frog,black,0,.....
frog,black,1,.x...
frog,black,2,x.o..
frog,black,3,...x.
frog,black,4,.....
rabbit,black,0,.....
rabbit,black,1,...x.
rabbit,black,2,..o.x
rabbit,black,3,.x...
rabbit,black,4,.....
crab,black,0,.....
crab,black,1,..x..
crab,black,2,x.o.x
crab,black,3,.....
crab,black,4,.....
elephant,red,0,.....
elephant,red,1,.x.x.
elephant,red,2,.xox.
elephant,red,3,.....
elephant,red,4,.....
goose,black,0,.....
goose,black,1,.x...
goose,black,2,.xox.
goose,black,3,...x.
goose,black,4,.....
rooster,red,0,.....
rooster,red,1,...x.
rooster,red,2,.xox.
rooster,red,3,.x...
rooster,red,4,.....
monkey,black,0,.....
monkey,black,1,.x.x.
monkey,black,2,..o..
monkey,black,3,.x.x.
monkey,black,4,.....
mantis,red,0,.....
mantis,red,1,.x.x.
mantis,red,2,..o..
mantis,red,3,..x..
mantis,red,4,.....
horse,red,0,.....
horse,red,1,..x..
horse,red,2,.xo..
horse,red,3,..x..
horse,red,4,.....
ox,black,0,.....
ox,black,1,..x..
ox,black,2,..ox.
ox,black,3,..x..
ox,black,4,.....
crane,black,0,.....
crane,black,1,..x..
crane,black,2,..o..
crane,black,3,.x.x.
crane,black,4,.....
boar,red,0,.....
boar,red,1,..x..
boar,red,2,.xox.
boar,red,3,.....
boar,red,4,.....
eel,black,0,.....
eel,black,1,.x...
eel,black,2,..ox.
eel,black,3,.x...
eel,black,4,.....
cobra,red,0,.....
cobra,red,1,...x.
cobra,red,2,.xo..
cobra,red,3,...x.
cobra,red,4,.....
1 # pattern forms a grid of 5x5
2 # o is the move's starting postion
3 # x are move end position candidates
4 # . is space
5 name,startingPlayer,row,pattern
6 tiger,black,0,..x..
7 tiger,black,1,.....
8 tiger,black,2,..o..
9 tiger,black,3,..x..
10 tiger,black,4,.....
11 dragon,red,0,.....
12 dragon,red,1,x...x
13 dragon,red,2,..o..
14 dragon,red,3,.x.x.
15 dragon,red,4,.....
16 frog,black,0,.....
17 frog,black,1,.x...
18 frog,black,2,x.o..
19 frog,black,3,...x.
20 frog,black,4,.....
21 rabbit,black,0,.....
22 rabbit,black,1,...x.
23 rabbit,black,2,..o.x
24 rabbit,black,3,.x...
25 rabbit,black,4,.....
26 crab,black,0,.....
27 crab,black,1,..x..
28 crab,black,2,x.o.x
29 crab,black,3,.....
30 crab,black,4,.....
31 elephant,red,0,.....
32 elephant,red,1,.x.x.
33 elephant,red,2,.xox.
34 elephant,red,3,.....
35 elephant,red,4,.....
36 goose,black,0,.....
37 goose,black,1,.x...
38 goose,black,2,.xox.
39 goose,black,3,...x.
40 goose,black,4,.....
41 rooster,red,0,.....
42 rooster,red,1,...x.
43 rooster,red,2,.xox.
44 rooster,red,3,.x...
45 rooster,red,4,.....
46 monkey,black,0,.....
47 monkey,black,1,.x.x.
48 monkey,black,2,..o..
49 monkey,black,3,.x.x.
50 monkey,black,4,.....
51 mantis,red,0,.....
52 mantis,red,1,.x.x.
53 mantis,red,2,..o..
54 mantis,red,3,..x..
55 mantis,red,4,.....
56 horse,red,0,.....
57 horse,red,1,..x..
58 horse,red,2,.xo..
59 horse,red,3,..x..
60 horse,red,4,.....
61 ox,black,0,.....
62 ox,black,1,..x..
63 ox,black,2,..ox.
64 ox,black,3,..x..
65 ox,black,4,.....
66 crane,black,0,.....
67 crane,black,1,..x..
68 crane,black,2,..o..
69 crane,black,3,.x.x.
70 crane,black,4,.....
71 boar,red,0,.....
72 boar,red,1,..x..
73 boar,red,2,.xox.
74 boar,red,3,.....
75 boar,red,4,.....
76 eel,black,0,.....
77 eel,black,1,.x...
78 eel,black,2,..ox.
79 eel,black,3,.x...
80 eel,black,4,.....
81 cobra,red,0,.....
82 cobra,red,1,...x.
83 cobra,red,2,.xo..
84 cobra,red,3,...x.
85 cobra,red,4,.....

View File

@ -0,0 +1,47 @@
# Onitama
## 游戏目标
玩家在棋盘上移动棋子,达成两种胜利条件当中的一种即可赢得游戏:
- 占领:将师父棋子移动到对手师父棋子的初始位置
- 吃掉:将对手的师父棋子吃掉
## 游戏配件
公共配件:
- 卡牌16张每张标记一位起始玩家和一个移动方式图示
- 棋盘1个5x5
玩家配件:
- 师父棋子1个
- 徒弟棋子4个
## 游戏布置
1. 将所有玩家的棋子放在棋盘的初始位置上:
```
bbBbb
.....
.....
.....
rrRrr
```
其中b表示黑方r表示红方大写表示师父小写表示徒弟。
2. 将所有卡牌洗混每名玩家抓2张放在自己面前。
3. 翻开一张卡牌作为额外卡牌。额外卡牌标记的玩家成为起始玩家。
## 游戏进行
从起始玩家开始,轮流进行以下步骤:
- 选择一张卡牌,按照其描述移动棋子。
- 将选择的卡牌与额外卡牌交换。
移动时,可以选择自己的任意棋子。
移动落点必须是空位或者对手的棋子。
若移动到对手的棋子上,则吃掉该棋子。
若玩家没有任何能够进行的移动,可以任意选择一张卡牌与额外卡牌交换,然后直接结束回合。
之后若有玩家达成胜利条件,游戏结束。