Fifteen pieces of a games night: Dice, DiceTray, PlayingCard, CardHand, Deck, Chessboard, GoBoard, MahjongTile, Domino, Roulette, CoinFlip, BingoCard, TicTacToe, ScoreTrack and Meeple. Component number 500 is a meeple, which seems right. Dice tumble, coins turn and wheels spin on a cue, a frame at a time, and land at once under Reduce Motion. Hands lift the card you point at and play the one drawn on top; pieces and stones pick the lighter of Lit and Ink for White, so they read in every palette; the computer plays a fair O; FREE is a star in every language. New 12x12 icons: Spade, Club, Diamond, Meeple, King, Queen, Rook, Bishop, Knight and Pawn.
137 lines
2.1 KiB
Go
137 lines
2.1 KiB
Go
package icon
|
|
|
|
import "git.zacharyzhang.com/ZacharyZhang-NY/8bitMyGoUI/pixel"
|
|
|
|
var (
|
|
Spade = pixel.MustSprite(`
|
|
............
|
|
.....##.....
|
|
....####....
|
|
...######...
|
|
..########..
|
|
.##########.
|
|
.##########.
|
|
..###..###..
|
|
.....##.....
|
|
....####....
|
|
............
|
|
............`)
|
|
Club = pixel.MustSprite(`
|
|
............
|
|
....####....
|
|
...######...
|
|
...######...
|
|
.##.####.##.
|
|
############
|
|
############
|
|
.###.##.###.
|
|
.....##.....
|
|
....####....
|
|
............
|
|
............`)
|
|
Diamond = pixel.MustSprite(`
|
|
............
|
|
.....##.....
|
|
....####....
|
|
...######...
|
|
..########..
|
|
.##########.
|
|
.##########.
|
|
..########..
|
|
...######...
|
|
....####....
|
|
.....##.....
|
|
............`)
|
|
Meeple = pixel.MustSprite(`
|
|
............
|
|
.....##.....
|
|
....####....
|
|
....####....
|
|
.##########.
|
|
############
|
|
.##########.
|
|
...######...
|
|
..########..
|
|
..###..###..
|
|
.####..####.
|
|
............`)
|
|
King = pixel.MustSprite(`
|
|
.....##.....
|
|
....####....
|
|
.....##.....
|
|
...######...
|
|
..##.##.##..
|
|
..########..
|
|
...######...
|
|
....####....
|
|
...######...
|
|
..########..
|
|
.##########.
|
|
............`)
|
|
Queen = pixel.MustSprite(`
|
|
..#..##..#..
|
|
..##.##.##..
|
|
..########..
|
|
...######...
|
|
....####....
|
|
....####....
|
|
...######...
|
|
....####....
|
|
...######...
|
|
..########..
|
|
.##########.
|
|
............`)
|
|
Rook = pixel.MustSprite(`
|
|
............
|
|
..##.##.##..
|
|
..########..
|
|
...######...
|
|
...######...
|
|
....####....
|
|
....####....
|
|
....####....
|
|
...######...
|
|
..########..
|
|
.##########.
|
|
............`)
|
|
Bishop = pixel.MustSprite(`
|
|
.....##.....
|
|
....####....
|
|
...###.##...
|
|
...##.###...
|
|
...######...
|
|
....####....
|
|
.....##.....
|
|
....####....
|
|
...######...
|
|
..########..
|
|
.##########.
|
|
............`)
|
|
Knight = pixel.MustSprite(`
|
|
............
|
|
....###.....
|
|
...#####....
|
|
..###.###...
|
|
..########..
|
|
.###..####..
|
|
.##..#####..
|
|
....#####...
|
|
...######...
|
|
..########..
|
|
.##########.
|
|
............`)
|
|
Pawn = pixel.MustSprite(`
|
|
............
|
|
............
|
|
.....##.....
|
|
....####....
|
|
....####....
|
|
.....##.....
|
|
....####....
|
|
...######...
|
|
...######...
|
|
..########..
|
|
.##########.
|
|
............`)
|
|
)
|