Open Source JavaScript Chess Board


  • 3 years ago · Quote · #21

    quadriple

    BlauePeter wrote:
    quadriple wrote:

    So where can I get the HTML code for the board?





    JavaScript Chess




     







     

     

    The above presumes you have downloaded the files from http://chessboardjs.com/ and https://github.com/jhlywa/chess.js

    I renamed the folder  from chess.js to chess_J.  The folders chessboard and chess_J reside in a folder named chess.  I run the script from the chess folder and that necessitates having to copy img/chesspieces/wikipedia into the chess folder.

    The html code displays a chessboard in the start position and then random moves are displayed.  That is as far as I have gotten. 

    I hope this is as clear as mud.  :)

    Cheers,

    Peter

    I have a few questions about the code.

    1->What does do??

    I have seen it in a lot of places where they tell you how to make chessboards.

    2->what does  do??

    3->Shouldn't

    <--<script type="text/javascript" src='chessboard/js/jquery.js'> </script>
    <script type="text/javascript" src='chessboard/js/chessboard-0.3.0.js'> </script>
    <script type="text/javascript" src='chess_J/chess.js'> </script>
    -->

    be in head section if you are using HTML 5 or did I get that concept wrong?

    4->Can you show the out put of the code using insert position or game??

    5-> can we discuss this at length using messages?

    thanks.

  • 3 years ago · Quote · #22

    oakmac

    Hi folks :)

    I posted here a while ago and promptly forgot about it; sorry!

    Appreciate the kind words and feedback.

    If anyone runs into issues the best place to get help is on the GitHub project issues: https://github.com/oakmac/chessboardjs/issues?state=open

    -- Chris

  • 3 years ago · Quote · #23

    jsladek

    This is awesome!

  • 3 years ago · Quote · #24

    Zenchess

    I have been using it to teach my students :=)

  • 2 years ago · Quote · #25

    Zenchess

    No offense tigerprowl, but it seems you are trying to make this library into something it is not.  This is not a full featured chess app.  This is a bare bones javascript library useful for programmers and no one else.  That being said, someone could fork the project possibly and do the things you are saying.  It just wouldn't affect the main repo.

  • 24 months ago · Quote · #26

    hanelsker

    The chess editor at http://www.apronus.com/chess/wbeditor.php can be used to publish chess stuff like static diagrams, animated diagrams, live diagrams with arrows to navigate a whole game or a game fragment from a set up position WITHOUT LINKING OFF TO APRONUS. You can copy the apronus javascript to your server and keep everything under control.

    There is an embedding option which gives the html to embed starting with <script src="http://www.apronus.com/chess/playboard.js"></script>. If you download the script and put it on your server then you can use the whole thing without linking off to apronus.com.

    Static and animated diagrams are images to be saved so there is no problem here.

  • 22 months ago · Quote · #27

    szantner

    Hi,

    I just posted my version of a javascript chessboard implementation. Check it out: http://www.chess.com/forum/view/general/new-responsive-mobile-first-javascript-chessboard-library

    Cheers

    Attila

  • 21 months ago · Quote · #28

    mcemeren

    Zenchess wrote:

    No offense tigerprowl, but it seems you are trying to make this library into something it is not.  This is not a full featured chess app.  This is a bare bones javascript library useful for programmers and no one else.  That being said, someone could fork the project possibly and do the things you are saying.  It just wouldn't affect the main repo.

    I agree. This is what I have done by utilising chessboardjs, chess.js, sunfish chess engine. The application is hosted at www.chessbro.com


Back to Top

Post your reply: