Updated

Hiding a ring in a bouquet just wasn't enough when a computer programmer decided to pop the question.

Bernie Peng reprogrammed Tammy Li's favorite video game, "Bejeweled," so a ring and a marriage proposal would show up on the screen when she reached a certain score.

Li reached the needed score — and said yes.

• Click here to read more details of the electronic proposal on Peng's blog.

The word of the romantic feat last December filtered out after Peng, a financial software programmer, posted details on his blog. The reprogramming was a tricky task and took him a month.

"I thought it was pretty cool, in a nerdy way," Peng told The Star-Ledger of Newark.

[Since the AP won't tell you, we will: Peng not only "reprogrammed" "Bejeweled," but ported it part and parcel to the Nintendo DS, which has no official "Bejeweled" version. He gave his lady the DS version as a gift, which obviously had an important Easter egg hidden inside it.]

• Click here to visit FOXNews.com's Video Gaming Center.

The couple plan to marry over Labor Day weekend, and PopCap, the Seattle company that makes "Bejeweled," will fly the couple to Seattle as part of their honeymoon.

"Most video game companies would frown on people manipulating their games," said Garth Chouteau, a spokesman for PopCap.

"But it won him a woman. As a bunch of geeks we have to say, 'Bernie, hats off to you."'

The company is also supplying copies of "Bejeweled" to hand out as favors to the wedding guests. [No word on which format those will be.]

In the hugely popular game, players score points by swapping gems to form vertical and horizontal chains.