Fire simulator

This is a little fire simulator I made in Java practical course in University

The fire/red means the cell is burning

The green means the cell is normal (which is burnable)

The gray means the cell is recovering (which is not burnable)

Left mouse button (LMB) will burn the cell

Right mouse button (RMB) will change the cell to normal (green)

Middle mouse button (MMB) will make the cell gray

here is the rule of simulator

Red->Gray->Green (burn->recover->normal)

Green->Green (normal->normal)