pixel-examples/community/amidakuji
Robin Eklind bc29868459 Update import paths.
Automated using:

	find . -type f | grep -v "\.git" | xargs -I '{}' sar -i "github.com/faiface/pixel/examples/" "github.com/faiface/pixel-examples/" "{}"

With the sar tool, https://godoc.org/github.com/mewkiz/cmd/sar

Updates faiface/pixel#135.
2018-09-04 00:12:02 +02:00
..
assets add community example: amidakuji 2018-08-26 21:45:01 +09:00
examples add community example: amidakuji 2018-08-26 21:45:01 +09:00
glossary Update import paths. 2018-09-04 00:12:02 +02:00
LICENSE add community example: amidakuji 2018-08-26 21:45:01 +09:00
Makefile add community example: amidakuji 2018-08-26 21:45:01 +09:00
README.md Update import paths. 2018-09-04 00:12:02 +02:00
game.go Update import paths. 2018-09-04 00:12:02 +02:00
ladder.go Update import paths. 2018-09-04 00:12:02 +02:00
nametag.go Update import paths. 2018-09-04 00:12:02 +02:00
path.go Update import paths. 2018-09-04 00:12:02 +02:00
scalpel.go Update import paths. 2018-09-04 00:12:02 +02:00

README.md

AMIDA KUJI

Ghost Leg (Chinese: 畫鬼腳), known in Japan as Amidakuji (阿弥陀籤, "Amida lottery", so named because the paper was folded into a fan shape resembling Amida's halo) or in Korea as Sadaritagi (사다리타기, literally "ladder climbing"), is a method of lottery designed to create random pairings between two sets of any number of things, as long as the number of elements in each set is the same. This is often used to distribute things among people, where the number of things distributed is the same as the number of people. For instance, chores or prizes could be assigned fairly and randomly this way.

(Explanation from Wikipedia)


Examples

GIF1 GIF2
1 2
GIF3
3

Control

Action Input
🔀 Shuffle 1
▶️ Find path 2
Find path (faster) 3
Pause Space
⬆️➡️⬇️⬅️ Move camera around Arrow keys
↩️ Rotate camera Enter
🔭 Zoom in and out Scroll
🎇 Firework Left click
🔬 Inspection Right click
🔁 Toggle full screen mode Tab

Build

Windows

$ go get -v github.com/faiface/pixel-examples/community/amidakuji/...
$ go get -v -u github.com/go-bindata/go-bindata/...
$ cd $GOPATH/src/github.com/faiface/pixel-examples/community/amidakuji/
$ make

Ubuntu

$ sudo apt-get clean
$ sudo rm -r /var/lib/apt/lists/*
$ sudo apt update
$ sudo apt install libglib2.0-dev libpango1.0-dev libasound2-dev libgdk-pixbuf2.0-dev libgl1-mesa-dev xorg-dev libgtk2.0-dev
$ go get -v github.com/faiface/pixel-examples/community/amidakuji/...
$ go get -v -u github.com/go-bindata/go-bindata/...
$ cd $GOPATH/src/github.com/faiface/pixel-examples/community/amidakuji/
$ make

External sources

Library

Music

Image

Font