Log In  

Cart #59357 | 2018-11-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

You've heard of Go, the classic board game with two players, but what about Mega Go?!

Here are the standard rules of Go:

  • Players take turns placing tokens on the board
  • If a group of one color is completely surrounded, all the tokens in it are removed
  • A move is illegal if it would result in the previous board position being matched (Ko)

The version shown here uses the following variant on the rules:

  • The board is, like, huge
  • There are ten players instead of two
  • no Ko rule, 'cause I'm too lazy to implement it and it's very unlikely to ever happen

The ten CPU players take turns playing onto random empty spaces on the board. The version shown here partitions the board into 36 smaller 19*19 boards (plus some extra on the edges).

Feel free to experiment with the parameters on the first tab to try different board configurations or different numbers of players. I found an odd phenomenon where, on a blank 128*128 board with two players, the second player would almost always end up filling the board. See what other interesting things you can find!

P#59358 2018-11-26 12:06 ( Edited 2018-11-26 17:06)

So, What AI goes into this? is it just RNG?

P#59421 2018-11-28 18:19

Yup, the AIs are totally random. They simply pick an empty space, and play there. They don't check whether the move would destroy their own regions or anything like that, even though such a move is usually forbidden by most Go rulesets.

P#59504 2018-11-30 23:53

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-13 12:44:44 | 0.009s | Q:13