Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Display a chessboard with chess.js
<link rel="stylesheet" href="css/chessboard-0.3.0.css" />
<script src="js/jquery-1.10.2.min.js"> </script>
<script src="js/chessboard-0.3.0.js"> </script>
<div id="board1" style="width: 400px"></div>
var board1 = new ChessBoard('board1', 'start');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment