Skip to content

Commit 1cbd7b9

Browse files
committed
Remove snake_linux_opt since I have no idea of the bugs
1 parent f8e31d2 commit 1cbd7b9

2 files changed

Lines changed: 8 additions & 425 deletions

File tree

c/Snake/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@
33
## How to build
44

55
### Linux
6+
67
>gcc snake.c -lpthread
78
89
### windows
910

10-
> 1. `snake_windows.c` file is the code using windowsapis and can be built directly
11+
1. `snake_windows.c` file is the code using windowsapis and can be built directly
12+
13+
2. `snake.c` please use [POSIX Threads for Windows](https://sourceforge.net/projects/pthreads4w/)
1114

12-
> 2. `snake.c` please use [POSIX Threads for Windows](https://sourceforge.net/projects/pthreads4w/)
13-
>> please use **MSVS or GNU GCC (e.g. MinGW or MinGW64(without win32pthreads)) supported** for pthreads4w support
15+
> please use **MSVS or GNU GCC (e.g. MinGW or MinGW64(without win32pthreads)) supported** for pthreads4w support<br>
16+
>gcc snake.c -I`${The Dir of pthreads4w}`<br>
17+
>replace `${The Dir of pthreads4w}` according to your own setting
1418
15-
>>gcc snake.c -I`${The Dir of pthreads4w}`<br>
16-
replace `${The Dir of pthreads4w}` according to your own setting
19+
3. `snake_windows_opt.c` is the version avoiding refresh all output frequently, which lead to splash screen

0 commit comments

Comments
 (0)