M
M. Hamzah Khan
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi everyone,
I'm not really sure if this is the right place to be posting this since
its more of a general programming question but, I'm making a small
program in Java which I'm trying to use the MVC design pattern.
In this program I need to make the "computer" find a solution for a game
when the user enters some values.
So I was wondering, would the "computer" be inside the model or the
control? And I was also wondering, would you make a new class for the
"computer", and invoke its methods through the control, or just include
it in the control class?
I was thinking it would be in the control, but I just wanted to know
what everyone else thinks.
Hamzah Khan
- --
M. Hamzah Khan
Website: http://www.hamzahkhan.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGZEXMy+Jv+Mp4qC8RAnI4AKCUucKeDUBth/jdtVkDtHKIBHxjFgCfXBkR
hGevqaDYivOms+73m6srv5Q=
=SXLF
-----END PGP SIGNATURE-----
Hash: SHA1
Hi everyone,
I'm not really sure if this is the right place to be posting this since
its more of a general programming question but, I'm making a small
program in Java which I'm trying to use the MVC design pattern.
In this program I need to make the "computer" find a solution for a game
when the user enters some values.
So I was wondering, would the "computer" be inside the model or the
control? And I was also wondering, would you make a new class for the
"computer", and invoke its methods through the control, or just include
it in the control class?
I was thinking it would be in the control, but I just wanted to know
what everyone else thinks.
Hamzah Khan
- --
M. Hamzah Khan
Website: http://www.hamzahkhan.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGZEXMy+Jv+Mp4qC8RAnI4AKCUucKeDUBth/jdtVkDtHKIBHxjFgCfXBkR
hGevqaDYivOms+73m6srv5Q=
=SXLF
-----END PGP SIGNATURE-----