Add One and Two Player modes to Baduk Game
Created by: dcampbell24
Currently, baduk (Go) has only a GTP game mode where a board is displayed along with a prompt for entering Go Text Protocol (GTP) commands and a text area that shows the result of entering a command.
I propose to add one and two player modes that will make playing human vs. human and human vs. computer games more fun. Rather than starting the game in GTP mode, there will be a series of prompts asking the user for configuration options. The earlier choices will determine the later prompts:
Welcome to Redox Go
mode of play (1 - one player, [2 - two player], 3 - Go Text Protocol):
if 1 -> player color ([1 - black], 2 - white):
board size (9, 13, [19]):
handicap([0]-9):
The items in square brackets are the defaults. If one or two player mode is chosen, then the user will be directed to a different screen that prompts the players for moves rather than requesting GTP commands. The screen will also display more information about the game including, whose turn it is, the turn number, stones captured, komi, and the ruleset. After both players pass, the screen will enter a mode for marking which groups are alive and scoring the game.