I’ve finally found some time again recently to do a project just for fun and i’ve decided to build a shogi game. For those who don’t know shogi is essentially japanese chess (its a lot of fun I highly recommend it).
At the moment I don’t want to deal with anything like AI programming, more I want to make it a multiplayer game I can play online with my friends and I’m trying to find the best way to go about certain things.
So here is my question. Does anyone know of an efficient method to checking valid moves for a specific piece and to check when that piece is moved if that move is valid?
I haven’t done very many grid type games like chess or checkers so this is new and interesting territory for me, but I am just unsure as to the best method to go about this issue. If anyone knows of any examples or articles that can point me in the right direction it would be greatly appreciated