implement chat into game