A chess game engine and web component written in JavaScript.
I have kept a log of my journey creating this chess engine, detailing the steps I made and the fun and pain I went through. Hopefully it gives some insight into what a software developer goes through in the process. You can find the full story at Chess: A Developer's Journey.
Everything you need will be in the src folder.
There is a live example on CodeRunDebug.com/learn/chess/example/game.
There are better chess engines available and I do not recommend using this one. It is good for seeing how software is written. If you know any methods to improve it then please let me know.