Menu Content/Inhalt
Home arrow Forum

Articles

Poker Tips

Login






Lost Password?
No account yet? Register
PokerTH - Forum
Welcome, Guest
Please Login or Register.    Lost Password?
doubts about the game design... (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: doubts about the game design...
#1927
null (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
doubts about the game design... 7 Months ago Karma: 0  
I have a doubt about the design of the engine of poker:

When a player creates a game on a server on the Internet, who is charged with administering the game, the user is the main server and Internet server acts as a bridge, or is the server that manages the Internet really heading?
I am making some modifications to the game itself, and I want to make the games can be created on the server side and not the user is to make the game play, would that be possible?
Of course once it publishes the finished version, based on its super game of poker.
Thank you and sorry by my English, which is not so good.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1934
lotodore (Admin)
Admin
Posts: 259
graphgraph
User Offline Click here to see the profile of this user
Re:doubts about the game design... 7 Months ago Karma: 13  
In the current implementation of the server, there is always an admin in a game. When the player count within a game reaches 0, it is automatically closed. This is ensured in the main game loop of the game thread. You could modify this to allow games to exist with zero players, however, you would need to rewrite the whole "administration" concept then.

Currently, the first player is automatically the admin, if he leaves the player who joined next will become admin.
 
Report to moderator   Logged Logged  
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
#1935
heyn (User)
Gold Boarder
Posts: 270
graphgraph
User Offline Click here to see the profile of this user
Re:doubts about the game design... 7 Months ago Karma: 15  
Hi Lotodore,

I think null's question was: does the internet server control all the games (i.e. deal all the cards and determine the winners)? Or is it the machine of whoever is game admin? But I may misunderstand.

heyn
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1936
lotodore (Admin)
Admin
Posts: 259
graphgraph
User Offline Click here to see the profile of this user
Re:doubts about the game design... 7 Months ago Karma: 13  
Yes the server controls all games, deals all cards and determines the winners. The admin in a game just has a special flag which allows him to start the game and kick players. In network games, the client is "as stupid as possible" (i.e. knows as few as possible about the game logic) to prevent cheating.
 
Report to moderator   Logged Logged  
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
designed by www.madeyourweb.com