change directory pathings; fixed game logic