I'm quite impressed by what you did there, this is quite magical when it works.
If you dont input sensitivity, your character gets glued to the bottom right. If you input a number too high it kinda breaks, if you dont click the window it wont capture the mouse properly after starting it. I'm also not too sure what I need to do when everything gets filled with red characters.
Otherwise I have no idea how you achieved a game of this style in freaking powershell. Good job