Skip to content

lvisintini/board

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

board

Forked over from https://github.com/ldnpydojo/board I hope I'm able to consolidate all of the good ideas in the dojo teams and come up with a generic library

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

About

A board class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%