JK Rowling has delighted fans of The Sims as she inadvertently revealed she plays the life simulation game.

The Harry Potter creator let the secret slip as she posted a photo of her laptop on Twitter on Thursday.

She told fans she was struggling to let go of her “glitchy old laptop with the broken keys” and compared it to “moving into a new house”.

The snap of the MacBook offered a glimpse of The Sims green diamond icon on the taskbar which delighted fans.

@Sannasofie wrote: “Loving that you have The Sims on your computer.”

@Lorenzoismylife posted: “I have seen the “The Sims” logo on the right. I love you more.”

@Morrrris tweeted: “Pleassseeeee tell me the Sims is yours!?”

Rowling confirmed the news. In a tweet she has since deleted, the author said she loved the game.

Naturally, this sparked even more interest from Potter fans who want an expansion pack which introduces Harry and co to the game.

Lisa Neufeld (@Ezriela) wrote: “You play @TheSims, too?! Guess it makes sense. Creating worlds & all. Question is, can we please have a Harry Potter version of the Sims?!”

Stacey (@DirtyDevitt) posted: “Since you love the sims, would you approve if they came to you with an idea of an Harry Potter expansion pack?”