Skip to content

Commit

Permalink
Anarchy chess set (lichess-org#10842)
Browse files Browse the repository at this point in the history
* Added Anarchy chess set

* only keep one version of the anarchy chess set

* rename piece set to anarcandy

* Renamed anarchy-candy pieces to anarcandy in all places

* Improved Anarcandy pieces

Co-authored-by: Thibault Duplessis <[email protected]>
  • Loading branch information
caderek and ornicar authored Apr 29, 2022
1 parent 885d44e commit 4b1c2b3
Show file tree
Hide file tree
Showing 17 changed files with 177 additions and 2 deletions.
1 change: 1 addition & 0 deletions COPYING.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public/piece/tatiana | sadsnake1 | [CC BY-NC-SA 4.0](https://creativecommons.org
public/piece/staunty | sadsnake1 | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
public/piece/dubrovny | sadsnake1 | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
public/piece/libra | sadsnake1 | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
public/piece/anarcandy | [caderek](https://github.com/caderek) | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
public/sounds/futuristic | [Enigmahack](https://github.com/Enigmahack) | AGPLv3+
public/sounds/nes | [Enigmahack](https://github.com/Enigmahack) | AGPLv3+
public/sounds/piano | [Enigmahack](https://github.com/Enigmahack) | AGPLv3+
Expand Down
3 changes: 2 additions & 1 deletion bin/gen/piece-sprite
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ themes = [
['libra', 'svg'],
['dubrovny', 'svg'],
['icpieces', 'svg'],
['horsey', 'svg']
['horsey', 'svg'],
['anarcandy', 'svg']
]
types = {
'svg' => 'svg+xml;base64,',
Expand Down
3 changes: 2 additions & 1 deletion modules/pref/src/main/PieceSet.scala
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ object PieceSet extends PieceSetObject {
"icpieces",
"shapes",
"letter",
"horsey"
"horsey",
"anarcandy"
) map { name =>
new PieceSet(name)
}
Expand Down
12 changes: 12 additions & 0 deletions public/piece-css/anarcandy.css

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions public/piece-css/anarcandy.external.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.is2d .bishop.black {background-image:url('/assets/piece/anarcandy/bB.svg')}
.is2d .bishop.white {background-image:url('/assets/piece/anarcandy/wB.svg')}
.is2d .king.black {background-image:url('/assets/piece/anarcandy/bK.svg')}
.is2d .king.white {background-image:url('/assets/piece/anarcandy/wK.svg')}
.is2d .knight.black {background-image:url('/assets/piece/anarcandy/bN.svg')}
.is2d .knight.white {background-image:url('/assets/piece/anarcandy/wN.svg')}
.is2d .pawn.black {background-image:url('/assets/piece/anarcandy/bP.svg')}
.is2d .pawn.white {background-image:url('/assets/piece/anarcandy/wP.svg')}
.is2d .queen.black {background-image:url('/assets/piece/anarcandy/bQ.svg')}
.is2d .queen.white {background-image:url('/assets/piece/anarcandy/wQ.svg')}
.is2d .rook.black {background-image:url('/assets/piece/anarcandy/bR.svg')}
.is2d .rook.white {background-image:url('/assets/piece/anarcandy/wR.svg')}
6 changes: 6 additions & 0 deletions public/piece/anarcandy/bB.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions public/piece/anarcandy/bK.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4b1c2b3

Please sign in to comment.