public void paint(Graphics g) {
        // Displays text on the right
        displaySidebar(g);

        // This draws the gameboard with NOTHING on it, handles pacman "residue"
        for (int count1 = 0; count1 < 18; count1++) {
            for (int count2 = 0; count2 < 20; count2++) {
                switch (game.gb.gameBoard[count1][count2]) {
                case 'w':
                    g.setColor(Color.blue);
                    break;

                default:
                    g.setColor(Color.black);
                    break;
                }
                g.fillRect(count2 * BLOCK_SIZE, count1 * BLOCK_SIZE, BLOCK_SIZE, BLOCK_SIZE);
            }
        }
        // This should fill in dots and POWERRRR dots where necessary

        for (int count1 = 0; count1 < 18; count1++) {
            for (int count2 = 0; count2 < 20; count2++) {
                if (game.gb.gameBoard[count1][count2] == 'd') {
                    g.setColor(Color.WHITE);
                    g.fillOval(count2 * BLOCK_SIZE + (BLOCK_SIZE / 3), count1 * BLOCK_SIZE
                            + (BLOCK_SIZE / 3), 15, 15);
                }
                if (game.gb.gameBoard[count1][count2] == 'p') {
                    g.setColor(Color.MAGENTA);
                    g.fillOval(count2 * BLOCK_SIZE + (BLOCK_SIZE / 3), count1 * BLOCK_SIZE
                            + (BLOCK_SIZE / 3), 20, 20);
                }
            }
        }

        g.setColor(game.pacman.col);
        g.fillArc(game.pacman.getX(), game.pacman.getY(), BLOCK_SIZE, BLOCK_SIZE,
                game.pacman.mouthAngle + game.pacman.getDirection(),
                270 + ((45 - game.pacman.getMouthAngle()) * 2));

        g.setColor(game.evil1.col);
        g.fillArc(game.evil1.getX(), game.evil1.getY(), BLOCK_SIZE, BLOCK_SIZE,
                game.evil1.mouthAngle + game.evil1.getDirection(),
                270 + ((45 - game.evil1.getMouthAngle()) * 2));
        g.fillArc(game.evil2.getX(), game.evil2.getY(), BLOCK_SIZE, BLOCK_SIZE,
                game.evil2.mouthAngle + game.evil2.getDirection(),
                270 + ((45 - game.evil2.getMouthAngle()) * 2));

        if (game.isGameOver()) {
            game.gb.setBoardToWalls();
            myTimer.stop();
            if (game.isNewHighScore())
                game.setNewHighScore();
            displayEnd(g);
        }
    }