Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 398 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 398 Bytes

Baseball-Game

Baseball-Game using semaphore and sharing memory(Memory map) in C.

How to start?

  1. Complie two C files in src folders.

gcc -o Server server.c -lpthread
gcc -o Client client.c -lpthread

  1. Start Server program first.

./Server (Terminal 1)

  1. Next, Start Client program twice at different terminal.

./Client (Terminal 2)
./Client (Terminal 3)

  1. Enjoy the game!