Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

itch.ioitch.io logo & titleitch.io logo

Browse GamesGame JamsUpload GameDeveloper LogsCommunity
Log inRegister
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

PowerShell Chess

Chess... in PowerShell · ByWes.ovall

Add to collection
gameCommunityDevlog

The game is full of errors.

First of all, it has a missing '}' in the end. After fixing that one, I realised that any valid move gets the message 

InvalidOperation: C:\Downloads\powerchess.ps1:33Line |  33 |              $piece = $chessboard[$fromRow][$fromCol]     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     | Cannot index into a null array.Invalid move: you cannot move your opponent's pieces.
Log in to reply Join the discussion. Log in or create a free itch.io account to continue.
itch.io on Twitteritch.io on Facebook
AboutFAQBlogContact us
Copyright © 2025 itch corp ·Directory ·Terms ·Privacy ·Cookies

[8]ページ先頭

©2009-2025 Movatter.jp