Hi, I'm trying to solve a problem with my project, in the assignment I just have 2 requirements:
-client server
-communicating processes
and as project I've done a client-server poker app in C, I'm having troubles in the last part, in my idea, the check of the point will be done by child and communicating processing in this way:
thinking that for example the straight flush:
-if receives from his child flush true and from his child straight false returns to the father flush
or the full house:
if the pair child indicates a 2 pair kills the tris child and notifies the 2 pair to the the father
now the problems:
I already have done this part in a simple iterative way, but I'd like to give to the task a bit of complexity, my questions are:
-what is the best way to do this?(I'm just looking for some hint or pseudocode)
-is there a better way however based to communicating processes to do that task?
Thanks in advance and sorry for my English.