     i ? color=WHITE:color=BLACK;
     display.drawPixel(x, y0, color);
   }
-  
 }
 
 void drawWallLine(uint8_t x, uint8_t h, uint8_t side) {

    double nextStepX = player->dirX * STEP_SIZE;
    double nextStepY = player->dirY * STEP_SIZE;

   // if (pgm_read_byte(&level_map[int(player->y)][int(player->x + nextStepX)])) {
      player->x += nextStepX;
   // }

   // if (pgm_read_byte(&level_map[int(player->y + nextStepY)][int(player->x)])) {
      player->y += nextStepY;
   // }
    // D(Serial.print("palyer x,y"));
    // D(Serial.print(player->x));
    // D(Serial.print(","));

void rotatePlayer(Player *player, uint8_t right);
void movePlayer(Player *player);
void drawDottedLine(int16_t x, int16_t y0, int16_t y1);
void drawLine(int16_t x, int16_t y0, int16_t y1);

void setup()  {
  D(Serial.begin(9600));
