Skip to main content
added 27 characters in body
Source Link
candied_orange
  • 119.7k
  • 27
  • 233
  • 369

That's how I solved this problem. I told the pieces where they were. That way they don't have to remember and they don't have to ask.

To display a piece:

To generate a pieces legal moves:

That's how I solved this problem. I told the pieces where they were. That way they don't have to remember.

To display:

To generate legal moves:

That's how I solved this problem. I told the pieces where they were. That way they don't have to remember and they don't have to ask.

To display a piece:

To generate a pieces legal moves:

added 9 characters in body
Source Link
candied_orange
  • 119.7k
  • 27
  • 233
  • 369

You can do this even in the old school OOP languages, without doing construction in xml or writing your own class loader. Rather then reach for inheritance every time, instead learn to prefer composition and delegation.

You can do this even in the old school OOP languages, without doing construction in xml or writing your own class loader. Rather then reach for inheritance every time learn to prefer composition and delegation.

You can do this even in the old school OOP languages, without doing construction in xml or writing your own class loader. Rather then reach for inheritance every time, instead learn to prefer composition and delegation.

added 5 characters in body
Source Link
candied_orange
  • 119.7k
  • 27
  • 233
  • 369

This is a different issue. Conceptually it's a bit hard. It reminds me of relativity. Let me ask you this: do you know where you are? How do you know? If I drugged you and took you and your bed and floated you out into a lake how would you know where you are? Something has to tell you that you're floating in a lake.

This is a different issue. Conceptually it's a bit hard. It reminds me of relativity. Let me ask you this: do you know where you are? How do you know? If I drugged you and took you and your bed and floated you out into a lake how would you know where you are? Something has to tell you you're floating in a lake.

This is a different issue. Conceptually it's a bit hard. It reminds me of relativity. Let me ask you this: do you know where you are? How do you know? If I drugged you and took you and your bed and floated you out into a lake how would you know where you are? Something has to tell you that you're floating in a lake.

added 2 characters in body; edited body
Source Link
candied_orange
  • 119.7k
  • 27
  • 233
  • 369
Loading
deleted 5 characters in body
Source Link
candied_orange
  • 119.7k
  • 27
  • 233
  • 369
Loading
added 126 characters in body
Source Link
candied_orange
  • 119.7k
  • 27
  • 233
  • 369
Loading
added 126 characters in body
Source Link
candied_orange
  • 119.7k
  • 27
  • 233
  • 369
Loading
added 126 characters in body
Source Link
candied_orange
  • 119.7k
  • 27
  • 233
  • 369
Loading
Source Link
candied_orange
  • 119.7k
  • 27
  • 233
  • 369
Loading