samedi 27 décembre 2014

Efficient way to represent hexagonal board logic for abalone-like games


I have to implement the AI for Abalone game and I'm wondering what is the best way to represent the board logic using Java without wasting too much resources in all checks and updates routines involved.


Is better use various lists? A matrix of Cell objects? Any suggestion?


enter image description here





Aucun commentaire:

Enregistrer un commentaire