It is a metaphor. More specifically, it is an ontological metaphor, where something abstract is represented as something concrete. It would be more common to refer to "my computer is moody" as personification, however, where an inanimate objects is given human attributes.
A metaphor
A metaphor, a simile uses the words like or as.
that man
simile
simile
simile
simile and METAPHOR AND PERSONIFICATION AND CHEESE
simile
simile
Its a metaphor
As quick as a wink is a simile. ----
It is a simile.