Whenever a creature with melee attacks, it gets +1/+1 until end of turn for each opponent you attacked with a creature this combat.
Keyword glossary › Melee
Melee is a triggered ability built for multiplayer games. When the creature attacks, it counts how many different opponents you attacked with creatures this combat, and it gets +1/+1 for each one until end of turn.
The count is opponents, not creatures. Ten creatures attacking one player still gives +1/+1. Spreading attacks across the table is what makes melee grow, which suits Commander, where you often have three opponents.
The trigger resolves after attackers are declared and before blockers, so the defending players decide how to block while looking at the bigger creature. In a two-player game there is only one opponent, so melee is simply +1/+1 whenever the creature attacks.
Play a three-player Commander turn: split the attack across both opponents, then focus one. Step through it, or press Play all.


Before combat
Three players at 40 life. You control Tifa, Martial Artist, a 4/4 with melee, and Undercity Dire Rat, a 2/2. Ana and Ben have no creatures out.
These are real Magic cards. The example only covers the abilities that matter to it.
Real cards with melee. Look any of them up in the card search to compare every printing's price.