private static IFont loadSmartFont(String path, int charHeight, int asciiStart) {
        try {
            return new SmartFont(ImageIO.read(Board.class.getResourceAsStream(path)), charHeight, asciiStart);
        } catch (IOException e) {
            e.printStackTrace();
            return null;
        }
    }