AltmanD/guandan_mcc

How to show the game play

Closed this issue · 3 comments

I am interested in this project and I want to see four clients are playing guandan. However, how to start the game correctly as I am reading the file in showdown but which one should be executed first?

In this project, the 'showdown' module only supports monitoring one player.
For starting correctly, you can try to start without showdown module first. 'showdown' is just a GUI with socket.

In this project, the 'showdown' module only supports monitoring one player. For starting correctly, you can try to start without showdown module first. 'showdown' is just a GUI with socket.

Now I know how to start the 23456 port and it runs correctly. However, as you mentions the showdown is just a GUI with socket, if I want to observe 4 AI players are playing and their actions are printed in the terminal which is used to execute server binary file, what are the executing steps?

As you can see, in this file I start 4 player, 4 socket actually. If you want to observe 4 players' actions, you can add 'print' in loop. If you need further information, this file is where info collected, you can add whatever you want.