Origin for this trap of the white queen I played black in the game below and I am curious of the origin of this trap for the white Queen: move 12 Qxg7 - Rg8. That trap started at move 9 Qg3 - Nd4.

[FEN ""]
[Event "Live Chess"]
[Site "Chess.com"]
[Date "2018.04.10"]
[White "setyoaji"]
[Black "D3mniz"]
[Result "0-1"]
[ECO "C00"]

1.e4 {[%clk 0:05:03]} e6 {[%clk 0:05:02]} 2.e5 {[%clk 0:05:04]} c5 {[%clk 0:05:06]} 3.Nf3 {[%clk 0:05:01]} f6 {[%clk 0:05:09]} 4.exf6 {[%clk 0:04:59]} Nxf6 {[%clk 0:05:12]} 5.Ne5 {[%clk 0:04:59]} Bd6 {[%clk 0:05:00]} 6.d4 {[%clk 0:04:44]} cxd4 {[%clk 0:05:03]} 7.Qxd4 {[%clk 0:04:48]} Bxe5 {[%clk 0:05:07]} 8.Qxe5 {[%clk 0:04:51]} Nc6 {[%clk 0:05:08]} 9.Qg3 {[%clk 0:04:45]} Nd4 {[%clk 0:04:47]} 10.Bd3 {[%clk 0:04:41]} b6 {[%clk 0:04:26]} 11.O-O {[%clk 0:04:25]} Bb7 {[%clk 0:04:27]} 12.Qxg7 {[%clk 0:04:22]} Rg8 {[%clk 0:04:26]} 13.Qh6 {[%clk 0:04:15]} Rxg2+ {[%clk 0:04:27]} 14.Kh1 {[%clk 0:04:13]} Rg6+ {[%clk 0:04:30]}  0-1


My question is: is there a name for that game? Like the original game featured Légal playing against Saint Brie in Paris 1750.

https://www.chess.com/live/game/2737553041
Let's face it (and this is not being mean), both players are beginner chess players and are naturally making lots of mistakes. For instance 7....Qa5+ would win the knight on e5. Also black had a forced mate starting with 14. ... Rxf2+ (with the idea to remove the pawn first which could intercept bishop checks) but chose to win the queen instead.

Of course 12. Qxg7 was a losing mistake because after 12 ... Rg8 you will lose the queen (or the game if you let black take on g2). You could call this a mini-trap, but more typically you would call the pawn on g7 poisoned pawn, because it kind of obviously should not be captured because of the resulting attack on g2.

It is well worth memorizing the pattern of Nf6, Qg7, Rg8 as you will encounter it in many games, in all four corners of the board (i.e. also with queens on b7, b2, g2). Also note, that in this setup the square/pawn h7 is protected, leaving the queen only one square to escape. So, if you memorize this pattern  you should memorize it together with two ideas: i) the rook might attack something along the g-file (or b-file if in other corners) and ii) the queen has little space (and in other situations that one escape square might not be available; e.g. occupied or under attack).

I don't think this pattern/"trap" has any specific name. After 13. Qh6 Rxg2+ 14. Kh1, white runs into a discovered check which is very often deadly. 

Apart from the forced check mate after 14...Rxf2+, you could also consider this as a mini windmill, i.e. you could win an extra pawn (on f2) in addition to the queen. But note that black cannot continue with the windmill (winning pawns on c2, b2, a2) because white can cover the bishop check with Rf3 and escape with the king to f1.