Drain the tofu and mash it.
Beat the eggs and set aside.
Heat cooking oil in a pan and stir-fry the tofu.
When the tofu turns golden, add the eggs and scramble.
Add rice and stir-fry everything together, seasoning to taste.
Finish with salt and pepper as desired.