Skip to content

Instantly share code, notes, and snippets.

@mcsee
Last active November 7, 2022 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcsee/1f12fb2d0cb9f8eea202526597cf4b83 to your computer and use it in GitHub Desktop.
Save mcsee/1f12fb2d0cb9f8eea202526597cf4b83 to your computer and use it in GitHub Desktop.
<?
function setUpChessBoard() {
$this->placeOnBoard($this->whiteTower);
$this->placeOnBoard($this->whiteKnight);
// A lot more lines
// Empty space to pause definition
$this->placeOnBoard($this->blackTower);
$this->placeOnBoard($this->blackKnight);
// A lot more lines
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment