Title: Chess Polymorphism
Course: CPS 261: Advanced Java Concepts ~ DL & MM MASTER > Section: Learning Units - Bb

The following Chess video is a nice example of polymorphism. However, if you already understand polymorphism, this video doesn't really cover anything new and it is a bit long.

Presentations and Videos

- Chess Polymorphism lecture video (Time: 45:00)
- Chess Polymorphism document

- The following Chess video is a nice example of polymorphism. However, if you already understand polymorphism, this video doesnt really cover anything new and it is a bit long.
- Example Dumb Chess game: A more realistic example of polymorphsim. In this example, a generic piece class and a generic board class is constructed. Then the generic classes get extended with more specific classes like Rook, Queen, Bishop, etc. There are no new concepts here, but the example provides a better picture of how class inheritance and polymorphism can provide a more intuitive solution.