A customer of mine asked me to develop a Poker Game for him where they play poker with his friends online.

I have been looking for a good reason to start programming with XNA. Would you implement it with XNA if you were developing a game like this ?

Is there any ebook/online tutorials/video trainings which has some similar sample applications?

  • \$\begingroup\$ Which platforms are you planning to target? Windows only? X-Box?? \$\endgroup\$ – XiaoChuan Yu Mar 23 '12 at 7:41
  • \$\begingroup\$ windows only.. I would do this with WPF \$\endgroup\$ – Kubi Mar 23 '12 at 7:42
  • 2
    \$\begingroup\$ Like this one wpfpoker.codeplex.com ? \$\endgroup\$ – XiaoChuan Yu Mar 23 '12 at 7:44
  • \$\begingroup\$ that one seems inspiring but what about with XNA ? \$\endgroup\$ – Kubi Mar 23 '12 at 7:49
  • \$\begingroup\$ See my answer below... \$\endgroup\$ – XiaoChuan Yu Mar 23 '12 at 7:58

Doing it XNA with will give lots of flexibility with fancy animations; otherwise if you want something simpler WPF is easier. I might be biased because I've just had 8 month straight programming with WPF/WinRT. Anyhow, MS actually has sample XNA card game http://create.msdn.com/en-US/education/catalog/sample/blackjack.

I also recommend this site for tutorials: http://rbwhitaker.wikidot.com/2d-tutorials


As long as you don't want to use 3D i'd say skip XNA. Where WPF has an event driven model, XNA uses a real time loop for updates in game logic. This makes several things more complicated, for example you don't have regular buttons to post the Blinds, Bet, Call or Fold. These would be images in XNA and you need to detect user clicks on the screen and find out if this click was on an image or not.

Doesn't wpf also have a lot of animation possibilities?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.