Skip to content

Commit

Permalink
add alpha piece set
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed May 13, 2014
1 parent 6f274d4 commit 3ddc69d
Show file tree
Hide file tree
Showing 17 changed files with 909 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public/piece/cburnett
public/piece/pirouetti
public/piece/merida
public/piece/spatial
public/piece/alpha
public/wN-bg.svg
public/bN-bg.svg
public/vendor/pgn4web/pgn4web-compacted.js
Expand Down
9 changes: 4 additions & 5 deletions bin/svg-optimize
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,21 @@

# PIECES

for set (cburnett pirouetti merida spatial); do
for set (cburnett pirouetti merida spatial alpha); do

from=public/piece-src/$set
to=public/piece/$set
echo $to

rm -rf $to/*
mkdir -p $to
mkdir -p $to/invert

for file ($from/*.svg); do
svgcleaner-cli $file $(echo $file | sed 's#/piece-src/#/piece/#')
done
for file ($from/invert/*.svg); do
svgcleaner-cli $file $(echo $file | sed 's#/piece-src/#/piece/#')
done
# for file ($from/invert/*.svg); do
# svgcleaner-cli $file $(echo $file | sed 's#/piece-src/#/piece/#')
# done

done

Expand Down
2 changes: 1 addition & 1 deletion modules/pref/src/main/PieceSet.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sealed class PieceSet private (val name: String) {

object PieceSet {

val all = NonEmptyList("cburnett", "pirouetti", "merida", "spatial") map { name => new PieceSet(name) }
val all = NonEmptyList("cburnett", "pirouetti", "merida", "spatial", "alpha") map { name => new PieceSet(name) }

val list = all.list

Expand Down
73 changes: 73 additions & 0 deletions public/piece-src/alpha/bB.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
93 changes: 93 additions & 0 deletions public/piece-src/alpha/bK.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 73 additions & 0 deletions public/piece-src/alpha/bN.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions public/piece-src/alpha/bP.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 3ddc69d

Please sign in to comment.