For the last ability to trigger, an Assassin you controlled must have attacked the player. Attacking a planeswalker the player controls won’t count.

Artwork
Loading artwork…
Ramses, Assassin Lord
Dominaria United Commander · #61 · EN
Nonfoil—Foil—Etched—
Card rules
Deathtouch
Other Assassins you control get +1/+1.
Whenever a player loses the game, if they were attacked this turn by an Assassin you controlled, you win the game.
4/4
"Why butcher an army when you can slash a single throat for the same result?"
Rare · Illustrated by Manuel Castañón
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Similarly, if an Assassin enters the battlefield under your control attacking a player, that creature didn’t “attack” and won’t cause this ability to trigger.
As long as that player was attacked this turn by an Assassin you controlled, Ramses, Assassin Lord’s last ability triggers when that player loses the game for any reason, not just due to combat damage. This is true even if the Assassin is no longer on the battlefield, no longer under your control, or no longer an Assassin at the time that player loses the game.
If you attack an opponent with a non-Assassin creature and that creature becomes an Assassin after attackers were declared, that player was not “attacked” this turn by an Assassin you controlled.