aboutsummaryrefslogtreecommitdiff
path: root/test/solitaire.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-02-24 11:48:19 +1100
committerRob Pike <r@golang.org>2012-02-24 11:48:19 +1100
commit80a9783f842ff5d14fd5e2e5d5a129635a081031 (patch)
tree1ee1d083efadeb7077c17d701a82c5d338f4c30c /test/solitaire.go
parentc05c3a9d1180e6d449049d9ed96c46b65837bb29 (diff)
downloadgo-80a9783f842ff5d14fd5e2e5d5a129635a081031.tar.gz
go-80a9783f842ff5d14fd5e2e5d5a129635a081031.zip
test/[n-z]*.go: add documentation
R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5700056
Diffstat (limited to 'test/solitaire.go')
-rw-r--r--test/solitaire.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/solitaire.go b/test/solitaire.go
index 99c194f5bb..ac54cec0ac 100644
--- a/test/solitaire.go
+++ b/test/solitaire.go
@@ -1,11 +1,13 @@
// build
-// don't run it - produces too much output
-
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// Test general operation by solving a peg solitaire game.
+// A version of this is in the Go playground.
+// Don't run it - produces too much output.
+
// This program solves the (English) peg solitaire board game.
// See also: http://en.wikipedia.org/wiki/Peg_solitaire