Une TUI pour jouer au go - retour accueil
git clone git://bebou.netlib.re/go-tui
Log | Files | Refs |
commit a1917e47b76484f1cd00021ed9c20da60add682b parent 66812dccb221e49c9c93497270073cf20ab3602b Auteurice: Arthur Pons <arthur.pons@unistra.fr> Date: Wed, 16 Jul 2025 10:42:31 +0200 Juste pour tester un truc Diffstat:
M | gotui.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gotui.c b/gotui.c @@ -50,7 +50,6 @@ void print_line(int y, int size) { } } - void display(struct stone* stone_list, int count, int size) { for (int i=0;i<size;i++) print_line(i,size); @@ -60,6 +59,8 @@ void display(struct stone* stone_list, int count, int size) { } } +/* Main */ + int main(int argc, char **argv) { int size=9; if (argc>1) { size=atoi(argv[1]); }