avatar
Chess question# Java - 爪哇娇娃
np
1
I need guidance on how to model a chess game that involves two human players.
Since this a Java oriented game and I am a new user as well as a learner, I
need to be guided on the number of classes that can be incorporated in this
game as well as the substantial roles of each class. I have tried examining
some of the classes to involve the Board class, Piece class, legal move
checker which extends board as well as the GUI on which the entire game shall
be run. I need guidance on how I can join al
avatar
m*t
2
You might want to read a little about the Model/View/Controller
pattern.

【在 np 的大作中提到】
: I need guidance on how to model a chess game that involves two human players.
: Since this a Java oriented game and I am a new user as well as a learner, I
: need to be guided on the number of classes that can be incorporated in this
: game as well as the substantial roles of each class. I have tried examining
: some of the classes to involve the Board class, Piece class, legal move
: checker which extends board as well as the GUI on which the entire game shall
: be run. I need guidance on how I can join al

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。