Baseball-Game using semaphore and sharing memory(Memory map) in C.
- Complie two C files in src folders.
gcc -o Server server.c -lpthread
gcc -o Client client.c -lpthread
- Start Server program first.
./Server (Terminal 1)
- Next, Start Client program twice at different terminal.
./Client (Terminal 2)
./Client (Terminal 3)
- Enjoy the game!