I'm not really sure how to write about this, since I'm a new forum user and all; but I felt really motivated to write about this here after re-watching the ending of the game To The Moon and possibly discovering some suggested plot in the game; From of which, I have composed this mini-theory about the workings of the algorithms:
The evidence can be obtained from this video, of which I do not own in the slightest (except from owning TTM, the game it's from, of course
The theory is that the algorithm of River is aware of Johnny's state of dying due to how the mood metaphorically shifts from happy to kinda sad (I think), indicated by the leitmotif playing (to represent the memories of them wanting to go "To The Moon" and major to kinda minor with less dynamics and texture (timbre of piano also being related to Johnny's past) to represent sadness of that), when we see the launch go from Johnny's view to River's and how although Johnny sees the town (possibly his hometown) as they're leaving into space, River instead sees and remembers Anya and the true memories of her and Johnny. Another thing, is how Johnny seems aware, confused and concerned when the simulation in the ship seems to begin malfunctioning, River seems unfazed by it (although this may just be because she's a part of the simulation itself), how the heart-beat monitor can now be heard (possibly also from River's "point of view") and how at the last moment, when Johnny's wish is fulfilled and they're at the moon, River closes her eyes, not in the happy way that Johnny does it like "^_^" but more like "u-u", of which usually resembles sadness or peace, when Johnny isn't aware of her doing it and shortly after then, Johnny dies.
My theory is that River's algorithm is sentient (due to all of that information, although I am rather bad at expressing things despite my sometimes formal and complex vocabulary), and that during those moments, although Johnny's sentience had forgotten and was unaware of his true, dying state, River was and was helping him to "hold on" until he was finally happy and they were both at the moon together, finally at peace.
I'm sorry for my lack of expression and explanation skills. I really want to know what you guys think about this. Please inform me of what you think and feel free to continue discussing, asking about and rephrasing my statement of this theory (if it needs to be, my skills of this are rather terrible.
). I hope to hear more about this soon, until then, goodbye and farewell, everyone.