projects
/
sgk-go
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add CLI option for two player game, and associated framework to hook it all together.
[sgk-go]
/
interface
/
interface.h
diff --git
a/interface/interface.h
b/interface/interface.h
index
cc25ae2
..
4ffb749
100644
(file)
--- a/
interface/interface.h
+++ b/
interface/interface.h
@@
-29,11
+29,17
@@
#ifndef _PLAY_INTERFACE_H
#define _PLAY_INTERFACE_H
#ifndef _PLAY_INTERFACE_H
#define _PLAY_INTERFACE_H
+#include <stdbool.h>
+
#include "gnugo.h"
#include "sgftree.h"
void play_ascii(SGFTree* tree, Gameinfo* gameinfo,
char* filename, char* until);
#include "gnugo.h"
#include "sgftree.h"
void play_ascii(SGFTree* tree, Gameinfo* gameinfo,
char* filename, char* until);
+void play_ansi(SGFTree* tree, Gameinfo* gameinfo,
+ char* filename, char* until, bool strict);
+void play_twoplayer(SGFTree* tree, Gameinfo* gameinfo,
+ char* filename, char* until);
void play_gtp(FILE* gtp_input, FILE* gtp_output, FILE* gtp_dump_commands,
int gtp_initial_orientation);
void play_gmp(Gameinfo* gameinfo, int simplified);
void play_gtp(FILE* gtp_input, FILE* gtp_output, FILE* gtp_dump_commands,
int gtp_initial_orientation);
void play_gmp(Gameinfo* gameinfo, int simplified);