function love.load()
    images = {}

    for imageIndex, image in ipairs({
        1, 2, 3, 4, 5, 6, 7, 8,
        'uncovered', 'covered_highlighted', 'covered',
        'flower', 'flag', 'question',
    }) do
        images[image] = love.graphics.newImage('images/'..image..'.png')
    end
end

function love.draw()
    for y = 1, 14 do
        for x = 1, 19 do
            local cellSize = 18
            love.graphics.draw(
                images.covered,
                (x - 1) * cellSize, (y - 1) * cellSize
            )
        end
    end
end