diff --git a/README.md b/README.md index 4759615..4c4866a 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,14 @@ Run this server and it will run multiple sudoku generators and keeps track of ma ### Screenshots Will come when I figured out how to use this project again. +#### First version +![screenshot](images/sudoku1.png) +#### Second version +![screenshot](images/sudoku2.png) +![screenshot](images/sudoku3.png) +#### Last version including the web interface reachable on 9999. +![screenshot](images/sudoku4.png) +![screenshot](images/sudoku5.png) ## How to use diff --git a/a.out b/a.out index 26d2ed0..2259303 100755 Binary files a/a.out and b/a.out differ diff --git a/images/sudoku1.png b/images/sudoku1.png new file mode 100644 index 0000000..febf8d4 Binary files /dev/null and b/images/sudoku1.png differ diff --git a/images/sudoku2.png b/images/sudoku2.png new file mode 100644 index 0000000..a59a89b Binary files /dev/null and b/images/sudoku2.png differ diff --git a/images/sudoku3.png b/images/sudoku3.png new file mode 100644 index 0000000..93f9631 Binary files /dev/null and b/images/sudoku3.png differ diff --git a/images/sudoku4.png b/images/sudoku4.png new file mode 100644 index 0000000..13dd4f1 Binary files /dev/null and b/images/sudoku4.png differ diff --git a/images/sudoku5.png b/images/sudoku5.png new file mode 100644 index 0000000..46d479c Binary files /dev/null and b/images/sudoku5.png differ diff --git a/solve b/solve index 33caadc..387092d 100755 Binary files a/solve and b/solve differ diff --git a/sudoku b/sudoku index 4e02b05..816bfff 100755 Binary files a/sudoku and b/sudoku differ diff --git a/sudoku_gen1 b/sudoku_gen1 index b6cc689..8412a9f 100755 Binary files a/sudoku_gen1 and b/sudoku_gen1 differ diff --git a/web.c b/web.c index cb59a49..63ca65d 100644 --- a/web.c +++ b/web.c @@ -1,4 +1,4 @@ -#include +#include "rlib.h" #include int request_handler(rhttp_request_t * r) { @@ -12,7 +12,7 @@ int request_handler(rhttp_request_t * r) { void * serve_thread(void * arg){ int port = *(int*)arg; printf("Serving on port: %d\n", port); - rhttp_serve("0.0.0.0", port, 1024, 1, 1, request_handler); + rhttp_serve("0.0.0.0", port, 1024, 1, 1, request_handler,NULL); return NULL; }