The invention proposes a food cooker and a related method of cooking starch-containing food. The food cooker comprises a container configured to receive starch-containing food and a first portion of water; a heating unit coupled with the container; and a controller electrically coupled to the heating unit and configured to control the heating unit to heat a mixture of the starch-containing food and the first portion of water in the container to a first temperature to generate a heated mixture, the first temperature being higher than 110° C., and to cool down the heated mixture in the container to a second temperature to generate a cooled mixture when the mixture of the starch-containing food and the first portion of water in the container has been heated to the first temperature; wherein the controller controls the repeated heating and cooling steps for a given number of cycles.