-
Notifications
You must be signed in to change notification settings - Fork 16
Ejemplos de fenotipos
José Miguel Tajuelo Garrigós edited this page May 16, 2017
·
14 revisions
| Fenotipo | Puntos | Commit |
|---|---|---|
| C?P?PCH | 6580 | 94a94e0 |
| ?B?PC?BHCHC | 9000 | 94a94e0 |
| Nombre | Fenotipo | Puntos | Commit |
|---|---|---|---|
| RevEx | E?PH | 3000 | 7b897cf |
El algoritmo aprovecha el multiplicador por comerse fantasmas, alcanzando puntuaciones altas (11000 puntos) muy rápidamente. Para ello, espera en una intersección a que se le acerquen los fantasmas.
if( getDistanceToClosestNonEdibleGhost >= 4 ){
getDirectionTowardsClosestEdibleGhost
}
else{
getDirectionAwayFromClosestNonEdibleGhost
}
Con controlador AggressiveGhosts
if( getDistanceToClosestNonEdibleGhost <= 20 ){
getDirectionTowardsClosestPowerPill
}
else{
getDirectionTowardsClosestPill
}



