The goal of this project is to carry out a battle between 2 teams. Each team will be made up of a main process called the QG process as well as attacking processes. To gain a point for its team, an attacking process must write in a file team number (variable of type int written in binary) as well as its PID (variable of type int written in binary).
If an opposing attacking process opens this file, it can then enter its team number and PID in it, but also retrieve the PID of the attacking process and kill it.
Each attacking process receives the file number to be conquered by a pipe from the QG process.
From the start of its execution, the QG process will place a timing of a duration of 20 seconds then will end its execution at the end of this timing (signal SIG_ALRM). In addition to the different system functionalities used in this project, it will be necessary to think about the development of a minimum of artificial intelligence in order to optimize the program.
Attacking processes will have to use Fxxx files (xxxx ranging from 0000 to 9999).
These files exist before the launch of the two competing programs.
An attacking process should send a SIG_QUIT signal to kill an opposing attacking process. Therefore each attacking process will have to redefine its SIG_QUIT signal to terminate by posting its death.
A program that counts points per team must also be made available
3 freelances font une offre moyenne de 25 $ pour ce travail
hey buyer I am professional data analyst. I have been coding in c++ for 5 years and c++ is my primary language. I can code any data structure for you. I also have a great knowledge about ipvcs/routing protocols etc. I Plus
I have 12+ years of experience in C and shell programming in Linux and have worked in many project similarly to this. please ping me with more details so we can work on this.
Hi, I can make this c program. I have 3 years of experience in this field. I will give your project in time. Thank you