A competitive open-source AI for gomoku and renju