separated game logic into more efficient non-GUI based code