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 Singh <[email protected]> wrote: > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
