Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/asweigart/PythonStdioGames
/ pegsolitaire.py
File
pegsolitaire.py
src/gamesbyexample/pegsolitaire.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"Peg Solitaire, by Al Sweigart al@inventwithpython.com
2
A single-player, peg-jumping game to eliminate all the pegs.
3
More info at https://en.wikipedia.org/wiki/Peg_solitaire
4
This and other games are available at https://nostarch.com/XX
Callers
nothing calls this directly
Calls
1
main
Function · 0.70
Tested by
no test coverage detected