Take the boiled corn kernels in a mixing bowl.
Add corn kernels to the skillet, along with butter, sugar, salt, and pepper. Cook, stirring frequently, until corn is softened and lightly browned in spots, 5 to 7 minutes.
Add flour and cook, stirring constantly, until flour is smooth and slightly toasted, about 2 minutes. Add the water and stir to combine (water should reduce almost immediately), until sauce is creamy.
Put some chilli flakes and serve.