a small threes clone in the terminal