disservin
disservin
Here's a new clang-format file which should reflect our code style a bit better at least according to https://clangpowertools.com/clang-format-editor.html, a few things were weirdly configured, which I removed manually. If...
why not throw a runtime error?
> > why not throw a runtime error? > > You mean without crashing? `throw std::runtime_error("Unexpected fen, failed to parse: ....");` kills the program unless a try and catch block...
> > why not throw a runtime error? > > stockfish doesn't use exceptions, and without exceptions you get std::terminate if that is how it is then im fine with...
Im not sure how others have done it but i got a relatively responsive board with this approach: vue.js ```js mounted() { this.calculateSquareSize(); window.addEventListener("resize", this.calculateSquareSize); }, beforeDestroy() { window.removeEventListener("resize", this.calculateSquareSize);...
You might also want to consider using https://github.com/vuejs/language-tools/tree/master/packages/component-meta ;)
No problem :D To be honest I can't even remember how I ended up here because I wanted to extract the prop types from a component which isn't the use...
@PavelChess if you have more positions feel free to post them here.
The point is that we are slowly making it possible to use stockfish as a library, in which case the dev (the library user) should only include the engine code...