jokkebk / jgoboard Goto Github PK
View Code? Open in Web Editor NEWjGoBoard Javascript goban (go board) library
License: Other
jGoBoard Javascript goban (go board) library
License: Other
The pop-up error box saying “Illegal move: Cannot play on existing stone!” is displayed when clicking on some places off of the board, such as along the top and bottom edges where the letter coordinate labels are.
Reproducible on this page:
http://static.jgoboard.com/jgoboard/demoPlay.html
It's very good library.
I am playing the game of go with my friends using this library.
After playing Game, how can I count point in territory ???
Best regards.
This may be a bit silly, but ever since I learned about the disjoint-set data structure, I thought that if I ever wrote a go engine, I could use it to keep track of connected groups. ;-)
Basically, you would use it to rewrite Board#getGroup
. Instead of re-calculating groups each time, you just consult the data structure, which is grown organically when a move is played. With a simple modification, you could simultaneously keep track of neighbors.
Anyway, performance of the engine is probably not a priority for you, but if you're enough of a computer science geek, you might want to go for it. Cheers!
I might be wrong but i played a bit on the play demo pages, and it appeared that when a piece is taken, you can't replay the exact same position and take back as it would violate the ko rule.
But from the rules i know, if playing there would lead to the capture of another group (or a larger group containing) the stone that made the capture, it isn't a ko anymore.
It is my understanding than the only way a ko or super-ko could be evaluated is if it leads (or would lead) to a same board position that already occured (right) before.
I want to implement the function called show_seqence.How to implement it when I use your javascript library?
I was looking at Shusaku’s ear reddening game, and was wondering how the captured stones are counted. I think I noticed an error. At move 298 white captured 23, and at the next move its 31(judging by the info on the right). It changed by 8 stones but I only count 4 captures. Could it be an error in the sgf file?
Here is 2 screen shots
Hi.
I sent the following E-mail to you on June 15th.
I am afraid that my mail might be recognized as spam one by your mailer.
Could you give me information for commercial use of jGoBoard?
Thank you.
-- E-mail content
Hello.
Thank your for your nice jGoBoard library.
My name is Ichikawa, Yuji, a private web service developer.
I am developing an Internet Go service on Web, and am going to use jGoBoard.
My service will be free at least for a while but I considered that I need to contact you because it is not a private use such as a blog article, is providing a service.
Could you give me information for commercial use of jGoBoard?
Thank you in advance,
P.S.
I modified demoPlay.html to get numbers of capture stones for an experiment.
I will be glad if you like it.
y-ich@63b1ed5
Hi Joonas.
I integrated jgoboard-3 (up-to-date master branch) on the problems playing page of internetgoschool.com, and we have some users reporting that from times to times, there is a stone missing (one time out of ten typically). The problem disappear after a refresh (maybe it's the same probability).
We use a css scaling transformation on the canvas, but it shouldn't be an issue.
It happens on both Chrome and Firefox recent versions.
Does it evoke something to you? Do you have an idea about a probable cause?
Many thanks.
Regards,
Claude
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.