Private/New-VirtualGameBoard.ps1

function New-VirtualGameBoard{
    #this creates the virtual gameboard 0 being the top most left, and 8 being the right most bottom
    0.. 8 | foreach {
        $YAdjust = if ($_ -lt 3){2}
        elseif($_ -gt 5){6}
        else{4}
        [PSCustomObject]@{
            Value = " "
            X = ($_ % 3) + 7 + (($_ % 3) * 3)
            Y = ($top + $YAdjust)
            ID = $_
        }
    }
}