I would like to present my LÖVE chessboard. It's a chessboard with an arbitrator (but without an artificial opponent). To move a piece, drag and drop it.
I made that chessboard in order to test under pleasant conditions my script chessgame.lua, and because I wanted to try to do something with LÖVE. I was surprised to see how easy it was to do what I wanted, with a few lines of code.
It's a programming exercise and my first LÖVE project, so any suggestion about the code is welcome.
All the chess rules are implemented, except threefold repetition (but it would be very easy to add). In case of promotion, you cannot choose the piece: it's automatically a queen. It's because I didn't see a simple way to ask the user choice, and didn't want to break my head about that.
