#ifndef CONSTS_H #define CONSTS_H #endif const int START_LENGTH = 4; const int START_LENGTH_HARD = 2; const int APPLE_SCORE = 10; const int CURSE_DURATION_TICKS = 40; // Speed scaling configuration (gradual acceleration based on consumed apples) const int SPEED_BASE_NORMAL_MHZ = 5000; // 5.0 Hz (~200 ms per step) const int SPEED_BASE_HARD_MHZ = 9000; // 9.0 Hz (~111 ms per step) const int SPEED_MAX_NORMAL_MHZ = 13000; // 13.0 Hz (~77 ms per step) const int SPEED_MAX_HARD_MHZ = 17000; // 17.0 Hz (~59 ms per step) const int SPEED_APPLES_CAP = 40; // Apples consumed to reach max intensity & speed // Screen size const int X_MAX = 31; const int Y_MAX = 23; //*barf* Dont try this at home... const char BITMAP_APPLE[] = { 0,0,0,2,2,0,0,0, 0,2,2,2,2,2,2,0, 0,2,2,2,2,2,2,0, 2,2,2,2,2,2,2,2, 2,2,2,2,2,1,2,2, 0,2,2,2,2,1,2,0, 0,2,2,2,2,2,2,0, 0,0,0,2,2,0,0,0 }; const char BITMAP_HEAD_RIGHT[] = { 0,3,3,3,3,3,3,0, 3,4,4,4,4,4,4,3, 3,4,7,4,7,4,4,3, 3,4,4,4,4,7,4,3, 3,4,4,4,4,7,4,3, 3,4,7,4,7,4,4,3, 3,4,4,4,4,4,4,3, 0,3,3,3,3,3,3,0 }; const char BITMAP_HEAD_UP[] = { 0,3,3,3,3,3,3,0, 3,4,4,4,4,4,4,3, 3,4,4,7,7,4,4,3, 3,4,7,4,4,7,4,3, 3,4,4,4,4,4,4,3, 3,4,7,4,4,7,4,3, 3,4,4,4,4,4,4,3, 0,3,3,3,3,3,3,0 }; const char BITMAP_SEGMENT[] = { 0,5,5,5,5,5,5,0, 5,6,6,6,6,6,6,5, 5,6,6,6,6,6,6,5, 5,6,6,6,6,6,6,5, 5,6,6,6,6,6,6,5, 5,6,6,6,6,6,6,5, 5,6,6,6,6,6,6,5, 0,5,5,5,5,5,5,0 };