Drawing in PowerShell
Hello you,
Writing a cross-platform PowerShell script is more difficult than it sounds on the surface. Since anyone can install PowerShell on any system, you might think that all commands on each system its installed on would work the same. Unfortunately, PowerShell is built on other open source projects within the C#/.Net/Mono worlds. So, anything the Linux/Mac community hasn't prioritized within those projects won't work correctly.
The main .Net library that PowerShell uses to draw graphics, for instance, is missing most of its bitmap functionality outside of the Windows environment. So, if I truly wanted to draw graphics in a manner compatible with all systems, I had to begin thinking outside the box. I did. The last devlog I posted was about the board being drawn.
Unfortunately, the same technique I used to draw the board, would make rendering the pawns, next on my todo, a very harrowing task indeed. So, I'm going to try another main .Net library. If it works, we'll have pawns within the week.
Blessings,
Wes Ovall
Get PowerShell Chess
PowerShell Chess
Chess... in PowerShell
Status | Prototype |
Author | Wes.ovall |
Genre | Strategy |
Tags | Chess, powershell |
Languages | English |
Accessibility | Color-blind friendly |
More posts
- InputFeb 17, 2023
- Board is DrawnJun 20, 2020
Leave a comment
Log in with itch.io to leave a comment.