Prompt
Code in html, css, and javascript a self-contained, complete and embeddable chess game that follows standard and accepted chess rules. Generate a 3d chess board with stylish pieces. Use a navy blue and white theme. Allow the player to select to play either a human opponent or against the computer at beginner, intermediate, advanced, or master levels. Add a reset button that allows the game to begin a new game at any time. Add a celebration when the player wins the game.
Iteration
Clean up the look. The pieces are not 3d. They are flat. Allow players to rotate the board in 3 dimensional space. Make the board look more like the included image while maintaining the navy and white theme.
Iteration 2
Much better, but the edge of the board flickers as it shows the triangles used to render it. Also, I completed one move and the computer made its own moves and mine to complete the game. Ensure turn taking both for human and computer opponents. Double check the code to fix the issues. Reduce the size of the pieces slightly relative to the board. They seem quite large.
Iteration 3
Change the background for the game to a light gray. It is too difficult to see the black pieces against the dark background.
Reference Image