Hi there,
I have created an as3 pokercardgame application which is almost finished for single players. It checks what hand each player has. I have worked very long on this, since its not very easy to do all the calculations. For now you play agains bots which are very dumb and do random moves It would be cool if I can convert this app to a multiplayer app, so I can play agains some friends. The game engine I have written in as3 is very open, so I think it is possible with these setup, but I know I have to wrap code around this to make it happen. Now I have seen some documentation and some samples but I need to know some things before getting in this, maybe you can help me. I have never created an multiplayer game. I have a bit experience with c#, and I'm a flashdeveloper.
The game engine (creating a pokertable/players/getting cards/calculating the winner) is now calculated inside the Flash (clientside). Is it needed to convert the full engine to c#? I have another idea but I don't know if this is possible: Set one player as an 'hostplayer' which creates the pokertable, shares new cards, sends money to the winner of the round etc. This player sends the pokertable-data into to the playerio-database, and other players will receive data that belongs to them (they will be 'receivers' only, who can only bet/fold and update the money of the bank)? This implies that if the hostplayer quits the game, the game cannot continue, but I'm fine with this.
The game doesn't need to be very secure (i know it would be better to do most things from serverside perspective) since this is a fun project for me. I'd love to do minimal coding in c#, Is it possible to let the hostplayer sending stuff to others? Is it possible to send free global objects to the players, so the flash can handle most things? Or do you still think this will require lots of c# coding?
Maybe anyone can give me some tips how to get started.