Skip to content

Project on a famous Italian betting game realized in C with client and server

License

Notifications You must be signed in to change notification settings

mgiorgi13/Il_Gioco_Del_LOTTO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Il Gioco Del LOTTO

This is a client-server application written in C that simulates the game of lotto. The application can be started using the Makefile provided. The server's main function is to generate lottery numbers at pre-set time intervals, receive bets from clients, and check and communicate the winners and their winnings. Clients can place bets using the client program.

Installation

To install the Lotto Game Application, clone the repository:

git clone https://github.com/mgiorgi13/Il_Gioco_Del_LOTTO.git

Navigate to the project directory and run the Makefile:

make

This will compile and link the server and client programs.

Usage

To start the server, run the following command:

./server

This will start the server, which will begin generating lottery numbers at pre-set intervals.

To start a client, run the following command:

./client

This will start the client program, which will allow you to place bets on the lottery numbers generated by the server.

About

Project on a famous Italian betting game realized in C with client and server

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published