Logical game on phomegap for mobile.