Git Product home page Git Product logo

jgoboard's People

Contributors

jokkebk avatar y-ich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jgoboard's Issues

Hi

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.

Use disjoint-set data structure to store groups

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!

ko rule

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.

capture count

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
screen shot 2015-06-24 at 12 35 54 pm
screen shot 2015-06-24 at 12 36 10 pm

Please give me information for commercial use of jGoBoard.

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

missing stone at first rendering

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

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.