summaryrefslogtreecommitdiff
path: root/test/solitaire.go
Commit message (Collapse)AuthorAgeFilesLines
* test/[n-z]*.go: add documentationRob Pike2012-02-241-2/+4
| | | | | | R=golang-dev, bradfitz, r CC=golang-dev http://codereview.appspot.com/5700056
* test: use testlib in a few more cases.R?my Oudompheng2012-02-221-1/+3
| | | | | | R=golang-dev, rsc CC=golang-dev, remy http://codereview.appspot.com/5688057
* cgo, goyacc, go/build, html, http, path, path/filepath, testing/quick, test: ↵Russ Cox2011-10-251-6/+1
| | | | | | | | | | use rune Nothing terribly interesting here. R=golang-dev, bradfitz, gri, r CC=golang-dev http://codereview.appspot.com/5300043
* solitaire: an exercise in backtracking and string conversionsRobert Griesemer2010-09-031-0/+119
Solves the (English) peg solitaire game. The board is represented by a 1-dimensional array for easy representation of directions with a single integer. The board's contents are chosen such that it can be printed with a direct string() conversion. R=r CC=adg, golang-dev http://codereview.appspot.com/2066042