jonthysell / Mzinga

Open-source software to play the board game Hive.
MIT License
82 stars 9 forks source link

Remove unnecessary abstraction in pieces by position #40

Closed jonthysell closed 8 years ago

jonthysell commented 8 years ago

Rely on Dictionary and the position's good GetHashCode to store pieces by position (remove stack-less key, store piece directly by position, get top by trying to walk up the stack).