Dice the tofu and finely chop the onion and carrot.
Heat oil in a pan and fry the tofu until golden brown.
Add the onion and carrot and stir-fry together.
Add the rice and mix well while stir-frying.
Add curry powder, salt, and pepper, and mix thoroughly.
When all the ingredients are evenly combined, it's ready.