in reply to Is this a good way to implement a Battleship game?

Is this a good way

It all depends: are you trying to optimise for speed or low memory consumption or a clean and expandable design or ... ? Strange as it may be some people even go for a maximum of obfuscation!

I'm afraid that without some design goals no-one can tell you if you succeeded in reaching that goal.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

  • Comment on Re: Is this a good way to implement a Battleship game?