go.py

Created by ziii

Created on September 09, 2023

4.09 KB

A basic game of go, close to an over the board experience. Uses area scoring because it’s easier to implement.

The colors of the game are fully customizable, from line 23 to 27 change the rgb values to whatever you wish.

How to play :

After starting the program enter the number of lines you want for the board.

Arrows to move the cursor.

Ok to place a stone.

Zero to remove a stone.

One to add a black stone.

Two to add a white stone.

Plus to pass turn.

Shift to remove a group of stones of the same color.


During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.