sabakihq / go-board Goto Github PK
View Code? Open in Web Editor NEWA Go board data type.
License: MIT License
A Go board data type.
License: MIT License
(suppose it depends on what rules you are using but)
how to count territory?
Does the current program support hijacking verification, and how is it written?
I noticed this unusual behavior
given the below board,
if player ░░
places at [2,8]
it considers it a capture of the player ██
s pieces
0 1 2 3 4 5 6 7 8
0██████████████████
1██████████████████
2████████████████
3████████████████░░
4██████████████████
5██████████████████
6██████████████████
7██████████████████
8██████████████████
capture @ 8,2 by 1
0 1 2 3 4 5 6 7 8
0
1
2 ░░
3 ░░
4
5
6
7
8
What's the reasoning behind this line
Line 55 in 927573a
Is it to allow for flexibility in letting us use any positive integer to represent Black and any negative integer to represent White?
I think this would, however, never see its use if we made use of the type file.
I saw the closed issue, but I was wondering if you had somewhere I could look for an algorithm to score the game. I'm sure someone's done it before, I just can't figure out where.
Thanks!
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.