Java: online card game library/class/e.g [closed]

2019-07-02 16:58发布

问题:

I am looking for java example solution/library/class for online card game. I'm interested in creating a non-profit version of a game called "Thousand", with functionality to play human vs human and human vs AI.

I'll appreciate any kind of advise.

回答1:

There's JPC-API which provides general playing card services and rendering. Beyond that you need to be more specific about what you need. The problem you describe is a little larget in scope. Are you looking for help in

  • Lobby services (finding other players)
  • Gaming network protocol (to communicate moves between players)
  • Gaming theory (to write the computer opponent)
  • Winning condition detection
  • Game UI development

or some other aspect?