refactored game, fixing ui console