[Open Source] Multiplayer Poker Game

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

[Open Source] Multiplayer Poker Game

Postby Frink » Sat Sep 12, 2009 9:36 am

Originally I was going to finish this off, and release it on the marketplace. My interest moved over to working on another project that I am involved in now, so I decided to neaten up a few things and release the code for all to learn from.

The graphics are handled with Views and PNG's, this turned out to be both fastest, and easiest to use - over Canvas and OpenGL. I built up a very basic protocol to send data between server and client.

Hopefully someone will be able to learn something from this, whether it be multiplayer game programming on Android, or poker game logic. I also created some AI (server side) that, while simple, turned out reasonably decent to play against, so if you're thinking about making a single player poker game, it might be an idea for somewhere to start.

One thing I was a little proud of, was the evalation classes I built. These are in VB.net, but even if you haven't used it before, its much simpler than java and can be converted easily. I had read reviews about all the other online poker games for Android, and a common complaint was that the game logic was flawed, pots weren't being split, wrong winning hands etc. After quite some work, I managed to make a (from all my testing so far) flawless evaluator :)

The server was developed in VB.net (with the intention of recreating in java if it was going to be released on the marketplace, to handle more clients)

I've got a few screenshots below (the client graphics changed a little after that shot), and you can download the source at http://www.stickycoding.com/android/gpoker final source.zip

Image

Image
Last edited by Frink on Sat Sep 19, 2009 2:08 pm, edited 1 time in total.
User avatar
Frink
Developer
Developer
 
Posts: 46
Joined: Sat Aug 15, 2009 7:42 pm

Top

Postby vihil » Sat Sep 19, 2009 1:28 pm

cool, thanks a lot for posting, it's appreciated :) and always interesting to see how other people are doing things.

i have done something similar (although not a poker client). i quickly glimpsed through your code and saw that you do not use a service for the connection.
wouldn't this disconnect as soon as some other apps become active and eventually destroy your app? i have implemented networking in a service for this purpose.

i will look at your code in more detail later.

[e] oh and the UI looks dope. i'd wish i had the skills for such a nice view :) manymany desktop poker clients look terrible compared to this.
vihil
Freshman
Freshman
 
Posts: 3
Joined: Thu Dec 11, 2008 2:39 am

Postby TuxBobble » Thu Dec 31, 2009 12:16 am

Great thanks for offering this up! I learned Java a long while ago, and haven't touched it in a while either. So this is a great thing for me to get into Android (and, more importantly, network!!!) programming.

Thanks again!
TuxBobble
Junior Developer
Junior Developer
 
Posts: 19
Joined: Wed Dec 30, 2009 7:36 pm

Postby wolfmankurd » Wed Jan 06, 2010 4:14 am

Hai,

It sounds great what you're doing, but the links is dead now.
Does anyone have a mirror?
wolfmankurd
Freshman
Freshman
 
Posts: 4
Joined: Sat Jan 02, 2010 11:22 pm

Re: [Open Source] Multiplayer Poker Game

Postby Pinto11 » Fri Mar 11, 2011 10:05 am

The most important thing heads-up play is to find real guide what kind of opponent you are dealing with. That is the first stage of the game is to collect the data. This means that you can do without the hand after the river just to see what he plays. Each player with some kind of scheme, of course, real life is much easier to know what the other player is, because it is much more to tell. The online poker online poker tells become less clear which of course means that they also become much more important.


Mahjong games
Pinto11
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Mar 11, 2011 10:00 am

Re: [Open Source] Multiplayer Poker Game

Postby Mike.Adams » Fri Mar 18, 2011 7:02 pm

Any chance for a working link? I was looking forward to messing with it.
Hi I'm Mike. Checkout my source code, projects and work here and let me know what you think.

Feel free to also upload and submit your code/projects there for all to see and find!
Mike.Adams
Developer
Developer
 
Posts: 26
Joined: Mon Mar 07, 2011 9:19 pm
Location: New York

Top

Re: [Open Source] Multiplayer Poker Game

Postby bhoolena » Tue Aug 23, 2011 7:01 am

What poker games did the US soldiers play during WWII and the Korean war? We know soldiers play a lot of poker, but what games did they like to play? How much did they typically wager?
_______________________________
keyword research ~ keyword tool ~ keyword tracking ~ affiliate elite
bhoolena
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Aug 18, 2011 8:15 am

Re: [Open Source] Multiplayer Poker Game

Postby Savina26 » Wed Dec 28, 2011 7:15 am

Hi all,Poker Games are really a fun to engage in. There is a wide range of this which you can engage in to keep kept entertained yourself. Poker Game Materials are very important for these activities as without them they would be unattainable. There are a wide range of poker game Materials items which are available on the internet and you can buy them as well. This items are provided to you at a wide range of costs and you should always look out for the best package.
Thank you.

Online Casino
Savina26
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Dec 28, 2011 7:13 am

Re: [Open Source] Multiplayer Poker Game

Postby Tiburon » Tue Feb 21, 2012 12:05 pm

Thanks for sharing your screenshots. Could u plz recommend me any soft, to develop java apps?I'd like to practice.

online slots
Tiburon
Freshman
Freshman
 
Posts: 2
Joined: Tue Feb 21, 2012 11:53 am

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 7 guests