Framework for word games