This is a chess game made by me
Here is the link:
https://replit.com/@arhanansari2009/Chess?v=1
Love the interface, but i get always an error in decoding, how do we enter a move?
Just see a code
Or I am making chess on website
So don’t worry
The piece you wanna move then a space then the square you want to move it to
But I’m getting “you aren’t allowed to move that piece this turn” so Idk
Also @arhanansari2009 both queens are always on the D file.
Hello white first
Enter this
e7 e5
Oh, white being on the right is counter-intuitive IMO. Especially because… White’s pieces are supposed to be on ranks 1 and 2.
Silly me i just went brutal without respecting chess rules or white first!
ADDED: btw you might want to clear the screen between boards and remove some debug code
You can really see the colour difference
It’s still wrong. White should be on the left as white’s pieces are always on ranks 1 and 2. And as I mentioned before, both queens must be on the D file.
Sorry, I’m a bit of a chess nerd although I am not very good at the game itself.
Then there will be error
Also can you flip the board 90 degrees to make it easier?
You have to enter 2 positions.