Commit | Line | Data |
---|---|---|
33b42748 BA |
1 | import ChessRules from "/base_rules.js"; |
2 | import BerolinaPawnSpec from "/variants/_Berolina/pawnSpec.js"; | |
9a036f5f | 3 | |
33b42748 BA |
4 | export default class BerolinaRules extends ChessRules { |
5 | ||
6 | pieces(color, x, y) { | |
7 | let res = super.pieces(color, x, y); | |
8 | res['p'] = BerolinaPawnSpec(color); | |
9 | return res; | |
10 | } | |
11 | ||
12 | }; |