As holder of a US patent on a purely software "invention" (aka, some game I wrote) I can categorically state that the only way it could have been granted was that it was rubber stamped because it is just a lot of talk about the algorithms I wrote, executed on a portable game system.