Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 723 Bytes

README.rst

File metadata and controls

31 lines (23 loc) · 723 Bytes

board

The One True Board for all future London Python Code Dojo challenges which involve a board

Critical Requirements

  • Can be subclassed / extended
  • 2-dimensional finite board
  • Initialise / Clear
  • Put something at a coordinate
  • Get what's at a coordinate
  • Remove something from a coordinate
  • Textual display
  • Unit Tests

Definitely Useful Requirements

  • Find neighbours (possibly bounded)
  • Detect runs / lines (think Connect4, Battleships, Noughts & Crosses)

Definitely Optional Requirements

  • 3-dimensional / n-dimensional
  • Spherical / other-topological board
  • Non-bounded
  • Fancy pygame / js / whatever output