There are a couple other ways to do this. GnuGo is fairly light on the CPU load and plays fairly quickly. It also understands GTP. You could create a front end that will present a board and accept moves from the user, then send these to GnuGo over GTP. This would have the advantage that any engine can be swapped for GnuGo later.
I'm not familiar with emscripten, but there is a process that will produce Javascript from Golang code that seems to be pretty robust. There are at least a couple Go programs written in Go(lang) that could be used as the basis of such a conversion. Clark B. Wierda On Wed, Mar 16, 2016 at 4:58 PM, Lukas van de Wiel < lukas.drinkt.t...@gmail.com> wrote: > Ha Benjami, > > what you might want to keep in mind is that you have a very weak bot, but > strong enough to defeat basic beginers, it will make strange moves and > weird mistakes, teaching the new players incorrect shapes in the bargain. > > But you might want to have thought at linking gnugo to your website. > > It is freely available, although I do not know how easy or difficult it > might be to implement. > > Good luck! > > Lukas > > On Thu, Mar 17, 2016 at 9:44 AM, Benjamin Teuber <bsteu...@gmail.com> > wrote: > >> Hi everyone, >> >> for a Go beginner website I would like to have a bot that runs in >> client-side javascript, it doesn't have to be that strong. >> An option might be transpiling gnugo with emscripten, but I'm not very >> familiar with that technology and the first google entry ( >> http://comments.gmane.org/gmane.comp.compilers.emscripten/1051) looks >> like it might be not so easy. >> >> Any ideas? Or even better, is anyone curious about it and willing to >> help? :) >> >> Regards Benjamin >> >> _______________________________________________ >> Computer-go mailing list >> Computer-go@computer-go.org >> http://computer-go.org/mailman/listinfo/computer-go >> > > > _______________________________________________ > Computer-go mailing list > Computer-go@computer-go.org > http://computer-go.org/mailman/listinfo/computer-go >
_______________________________________________ Computer-go mailing list Computer-go@computer-go.org http://computer-go.org/mailman/listinfo/computer-go