开发者

Ready-made Javascript library for modelling card games? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
开发者_C百科

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 8 years ago.

Improve this question

MVC 'architecture'. I would like a convenient way of specifying the rules of a card game including aspects such as hands or tricks, scoring, which cards from the deck or pack are used, and so on. Does anyone know of anything like this, preferably in Javascript?

Thanks for any guidance.


There's a good article here (and as a complement I suggest the companion article about displaying playing cards with CSS that's here). Nothing much to do with Python though!-) If you do want an example of handling a card game (including showing the cards as images in Tkinter) with Python, try this one (which however has nothing to do with Javascript: not sure why you've tagged your question with both languages).


C++ and Javascript have enough similarities that you should be able to at least understand general concepts and how things work from C++ code..?

http://drac-cardlib.sourceforge.net/

I found DRAC to be a good reference for general card game programming. I ended up applying a few of their approaches in my own poker AI simulations.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜