27 lines · 534 B · C
RawDownload
enum{	Pass = -2,	White,	Empty,	Black,	Ko,	Marked = 10,	Maxgobansize = 19}; extern int sgoban;extern int turn;extern int npass;extern int nblackcaptured;extern int nwhitecaptured;extern int ko;extern int isgameover;extern int goban[Maxgobansize * Maxgobansize];extern int group[Maxgobansize * Maxgobansize]; /* group[coord] */extern int liberty[Maxgobansize * Maxgobansize]; /* liberties[group] */ void initgoban(int);int drawgoban(void);int px2move(Point);int playmove(int);int undomove(int);int capture(int);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t