ELECTRIC DREAMS (1984)

An artificially intelligent PC and his human owner find themselves in a romantic rivalry over a woman. Miles buys himself a state-of-the-art computer that starts expressing thoughts and emotions after a having champagne spilled down on him. Things start getting out of hand when both Miles and Edgar, how the computer calls himself, fall in love with Madeline, an attractive neighbour.