https://github.com/956mb/go.py
Go in the terminal, written in Python.
https://github.com/956mb/go.py
game go python terminal
Last synced: about 2 months ago
JSON representation
Go in the terminal, written in Python.
- Host: GitHub
- URL: https://github.com/956mb/go.py
- Owner: 956MB
- Created: 2022-05-20T19:03:25.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-21T15:28:25.000Z (about 4 years ago)
- Last Synced: 2025-03-31T06:29:49.408Z (about 1 year ago)
- Topics: game, go, python, terminal
- Language: Python
- Homepage:
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go.py
[Board games collection repo](https://github.com/956MB/board-games)
```shell
A B C D E F G H J K L M N
13 ┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─● ┐ ···········1·
12 ├─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┤ ·············
11 ├─┼─┼─┼─┼─○ ○ ┼─┼─┼─┼─┼─┤ ·····00······
10 ├─┼─┼─┼─┼─┼─○ ┼─┼─┼─┼─┼─┤ ······0······
9 ├─┼─┼─┼─┼─┼─┼─┼─┼─┼─● ┼─┤ ··········1··
8 ├─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┤ ·············
7 ├─┼─┼─┼─┼─┼─┼─┼─┼─○─┼─┼─┤ ·············
6 ├─┼─┼─○ ┼─┼─┼─┼─┼─┼─┼─┼─┤ ···0·········
5 ├─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┤ ·············
4 ├─┼─┼─┼─┼─┼─● ┼─┼─┼─┼─┼─┤ ······1······
3 ├─┼─┼─┼─○ ● ┼─┼─┼─┼─┼─┼─┤ ····01·······
2 ├─┼─┼─┼─┼─● ┼─┼─┼─┼─┼─┼─┤ ·····1·······
1 └─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘ ·············
● 0 ● 0
```
Usage:
```shell
usage: go.py [-h] [-V] [-e] [-d] [-t [{0,1}]]
[-s [{9,13,19}]]
[-c [{41,42,43,44,45,46,47}]]
Play Go in the terminal. Written in Python.
optional arguments:
-h, --help show this help message
and exit
-V, --version show script version
-e, --extra show extra game info
after win
-d, --debug show debug info about
the game while playing
-t [{0,1}], --turn [{0,1}]
set starting piece.
Blue/Red (0, 1)
-s [{9,13,19}], --size [{9,13,19}]
choose to select the
board size, instead of
the default 19x19
-c [{41,42,43,44,45,46,47}], --color [{41,42,43,44,45,46,47}]
choose to select the
color for board
background color,
instead of random on
load
```
