Wrote BoardPosition to Int code