Reduce copy-paste creating one moving function
Add win check
Add "smart" game over check
Add basic color support
Simplify color calculation
Add exit/new game/continue text menus