Studios film movies aboard carriers all the time, and people are complaining about this? Really? We used to have to actually go out of our way and change our schedules to accommodate movies. The Vinson was already here. Trust me, I've seen it several times just sitting there on the way to base with my husband in the last month or two.
In fact, the movie "Battleship" just finished filming at several Navy locations, including San Diego. Scenes from both "The Core" and "Stealth" were filmed aboard the Lincoln during my time aboard. (Jessica Biel complained about her berthing, which was an officer's stateroom, and the food while aboard. Very rude and inconsiderate considering her time aboard was about 2 weeks, compared to our 6 months, and the vast majority of the crew lives in 30+ man berthings.)
And when Pres. Bush came aboard our ship, it was more than a little inconvenience (although, admittedly it was pretty cool, especially when we were told to not let him touch any buttons, no matter what, if he toured our spaces).
This game is good publicity for the Navy and it likely didn't cost the military much at all. It may have inconvenienced some sailors, especially those with duty and the area base security (I can certainly vouch for this one). Overall though it was probably a good thing and could likely be made an annual event to occur on different carriers, depending on their availability and the willingness of someone else to pay for the majority of the cost. Plus, it is a pretty good morale booster.