You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cc -std=gnu99 -Wno-declaration-after-statement -o kmldrv-user kmldrv-user.c
43
+
```
44
+
Make sure the kernel object file is compiled correctly, then you can insert the kernel module
45
+
```
46
+
$ sudo insmod kmldrv.ko
47
+
```
48
+
Now you can enjoy the tic-tac-toe games performed between kernel threads through the following command
49
+
```
50
+
$ sudo ./kmldrv-user
51
+
```
52
+
Enjoy the show !
53
+
54
+
## Features
55
+
### User space tool `kmldrv-user`
56
+
`kmldrv` provide a interface for userspace program to interact with it, for example you can use the userspace tool `kmldrv-user`. It has the following ability
57
+
- Display the status of `kmldrv`, to show whether its loaded or not
58
+
-`Ctrl + P` : Stop/Resume the displaying of chess board
59
+
-`Ctrl + Q` : Stop the tic-tac-toe games in kernel space
60
+
### Machine Learning Algorithms
61
+
Currently `kmldrv` supports two machine learning algorithms
62
+
- Monte-Carlo Tree Search
63
+
- Negamax AI Algorithm
64
+
### PRNG support
65
+
Currently `kmldrv` utilize two different PRNG (Pseudo-Random Number Generator) to generate random number
0 commit comments