Skip to content

Two player dice roll game based on client-server architecture in C

Notifications You must be signed in to change notification settings

gagannagpal131/LetsScore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LetsScore

Two player dice roll game based on client-server architecture in C

  • A two-player dice roll game to attain a specified maximum score
  • Systems programming in C to implement a client-server architecture
  • Parent-child processes [fork()] and sockets used to establish communication between referee (server) and players (clients)

Steps to Run

  • Clone https://github.com/gagannagpal131/LetsScore.git

  • Change to "LetsScore" as the current directory

  • Open 3 Terminal windows

  • gcc server.c -o server

  • gcc client.c -o client

  • ./server <Port #>

  • ./client on 2 Terminal windows (one for each player)

  • ./client <IP> <Port #> <Player Name>

Screenshots

About

Two player dice roll game based on client-server architecture in C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages