GithubHelp home page GithubHelp logo

react-stockfish-web-worker's Introduction

React Stockfish.js

Simple example of using Stockfish.js in React

Stockfish Version

Currently on nmrugg's Stockfish 15.0.0

React Stockfish

make build

Installs dependencies (node_modules) and creates sym links for stockfish

make run

Runs the app in the development mode.
Open http://localhost:9000 to view it in the browser.

react-stockfish-web-worker's People

Contributors

aagdere avatar

Stargazers

Tuna Özateş avatar Andy Nguyen avatar  avatar  avatar Wiktor Kamiński avatar  avatar Gareth Andrew avatar MD Islam avatar

Watchers

 avatar

react-stockfish-web-worker's Issues

How do you get this to work on the client side?

When I try to "new Worker(new URL("nmrugg_stockfish_js/stockfish.js", import.meta.url))" I get a bunch of module not found errors. E.g. "Module not found: Error: Can't resolve 'fs' in '/home/david/Projects/chess-frontend/node_modules/stockfish/src'". Does this require a server? Any chance you could give some details on how to use the worker on the react frontend? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.