IOWA CITY, Iowa - When an 87-year-old Illinois grandmother bet a quarter in an Iowa slot machine in 2011, she thought she'd hit it big. The screen said: "The reels have rolled your way! Bonus Award - $41797550.16."

Pauline McKee and her daughter excitedly summoned casino employees to collect what they thought was a $41.8 million jackpot. But state officials later concluded the award was a computer glitch and that the Isle Hotel Casino in Waterloo didn't have to pay. And the Iowa Supreme Court ruled Friday that McKee didn't hit any jackpot — no matter what the screen told her. Her good fortune was actually worth only $1.85 based on how the symbols aligned on the Miss Kitty game, the court said.

Game rules said the maximum award was $10,000 and allowed for no bonus awards, Justice Edward Mansfield wrote for the unanimous seven-member court. The rules and pay table, which were available on a touch screen, amount to a contract between the casino and the player and it doesn't matter that McKee didn't read them, he added.

"Any message appearing on the screen indicating the patron would receive a $41 million bonus was a gratuitous promise and the casino's failure to pay it could not be challenged as a breach of contract," Mansfield wrote in a ruling that dismissed a lawsuit filed by McKee.

The casino could have been forced into bankruptcy if the decision had gone the other way, said one of its attorneys, Stacey Cormican. A $41 million payout would amount to about half of the gross revenue the casino generated last year.

Cormican said the ruling will ensure fairness in Iowa's large gambling industry.

"Casinos are required to post rules and follow those rules. If either the patrons or casinos could change the rules in the middle of the game, it would be absolutely chaos," she said.

She said such computer glitches are rare.

McKee, of Antioch, Illinois, was playing the penny slot machine with relatives during a family reunion when she thought she hit the jackpot. When she and her daughter summoned an attendant, casino officials started to investigate, giving her a $10 card to play while she waited and eventually comping her and her relatives' rooms.

The casino requested a review by the Iowa Racing and Gaming Commission, which sent the machine's hardware and software to a laboratory for analysis.

advertisement | advertise on newsday

Testing concluded the machine had given an erroneous bonus message. The game's manufacturer, Aristocrat Technologies Inc., warned casinos in 2010 that machines using that hardware were susceptible to displaying mistaken "legacy bonus" awards on the screen. A company bulletin told customers it was developing a new hardware system and recommended they disable legacy bonusing to prevent the error — something the Waterloo casino didn't do.

The commission concluded the casino didn't have to pay because of the glitch. A sign on the game warned, "Malfunction voids all pays and plays."

McKee sued in 2012. Her lawyers disputed that the machine malfunctioned, arguing that jurors should decide. A judge threw out the case before trial.