This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REVEAL-SUDRAN | |
Translates notes written in Sudran to English. | |
REVEAL-VYKHYA | |
Translates notes written in Vykhya to English. | |
JUSTIN-BAILEY | |
Trace sports the leotard of Metroid fame. | |
IKKIBU-LABIRU |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Any password that begins with the letters AXIO will be treated as a cheat code. | |
This is how the game evaluates cheat codes. | |
1. Map the remaining eight characters to an integer value. | |
0 - 9 maps to 0 - 9 and A - Z maps to 10 - 35. | |
2. Multiply each value with a power of 36, determined by position, | |
and take the sum of those calculations. | |
x = 36^7 * v0 + 36^6 * v1 + 36^5 * v2 + 36^4 * v3 + | |
36^3 * v4 + 36^2 * v5 + 36^1 * v6 + 36^0 * v7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct { | |
uint8_t health; | |
// more fields | |
} enemy_t; | |
const int maxEnemies = 8; | |
enemy_t enemies[maxEnemies]; | |
int isDead(enemy_t * enemy) { | |
return enemy->health == 0; |