top of mind thoughts.
Chess layout one array of objects.
Methods:
- get_content()
- set_postion()
- is_check()
etc.
generic class each chessmen:
sub class type of chessmen(knight,rook etc)
methods:
next_moves()
make_move()
is_alive()
etc.
On Mon, Feb 7, 2011 at 4:12 PM, Manmeet Si
How to design a chess board using OOPS ? ?
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to
algogeeks+unsubscr...@googlegroups.com.