Show HN: Chess2 – Play live online chess against a friend, or a chess engine
1–10 of 12 posts
Re: Show HN: Chess2 – Play live online chess against a friend, or a chess engine
#2Very cool! What’d you use for the engine?
Re: Show HN: Chess2 – Play live online chess against a friend, or a chess engine
#3I am currently in the market for dev roles! I am completely self taught and this is a project that shows off what I am capable of. Its the first version so there will be issues here and there.
Re: Show HN: Chess2 – Play live online chess against a friend, or a chess engine
#4Very cool! What’d you use for the engine?
The engine is a WASM implementation of the stockfish 11 engine. https://github.com/nmrugg/stockfish.js
Re: Show HN: Chess2 – Play live online chess against a friend, or a chess engine
#5Re: Show HN: Chess2 – Play live online chess against a friend, or a chess engine
#6Earlier quoted context omitted.
The engine is a WASM implementation of the stockfish 11 engine. https://github.com/nmrugg/stockfish.js
Ah gotcha very cool! Incredible it can run in the browser
Yes web workers are cool. Sadly its only single threaded. If I'm not mistaken the newer version of the engine can run multithreaded but only on super modern browsers. This slightly older version ensures more compatibility
Re: Show HN: Chess2 – Play live online chess against a friend, or a chess engine
#7This is so cool dude!
Re: Show HN: Chess2 – Play live online chess against a friend, or a chess engine
#8This is so cool dude!
Thanks John!
Re: Show HN: Chess2 – Play live online chess against a friend, or a chess engine
#9Feels as if you are using stockfish for openings. Might be an idea to randomise a bit otherwise it becomes predictable. But it is really a great piece of work.
Re: Show HN: Chess2 – Play live online chess against a friend, or a chess engine
#10Feels as if you are using stockfish for openings. Might be an idea to randomise a bit otherwise it becomes predictable. But it is really a great piece of work.
Thanks a lot. Stockfish is used for openings and playing in general. I guess in the future it would be a good idea to give change the engine parameters slightly for each game. It is very configurable. Glad you enjoyed it