this is the code i had ChatGPT write a class to represent shogi in javascript. i didn't say anything about the initial setup of shogi or the movement of the pieces, but it returned code that was only slightly wrong.