MCPcopy Create free account
hub / github.com/asweigart/PythonStdioGames / hexapawn.py

File hexapawn.py

src/gamesbyexample/hexapawn.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Hexapawn, by Al Sweigart al@inventwithpython.com
2A pawn-only chess variant where you must try to move one of your
3pawns to the opposite end of the board. You also win if you block
4your opponent from making a move. The original Hexapawn had a 3x3

Callers

nothing calls this directly

Calls 1

mainFunction · 0.70

Tested by

no test coverage detected