Modified straight line brain to take care of advanced game