Skip to content

Baseball Game using semaphore and sharing memory(Memory map)

License

Notifications You must be signed in to change notification settings

yoonjaecho/Baseball_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Baseball Game using semaphore and sharing memory(Memory map)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages