I like how he's essentially...playing along after he finds out she's willing to go along with absurd commands just to graduate.
Great ending though! Ah yes, all according to plan, get him to essentially force himself on her and use it as blackmail material to graduate? That, or the IOS + Android dual release was just so good that it got her better grades.