NineAlmondsGame functional