How to make a Tamagotchi game

can someone tell me? how to make a Tamagotchi game

Here’s a version on GitHub written in Javascript. You’ll have to work out how to convert the process into events though, but if you draw it up into a flow chart, it may make it easier to create in GDevelop.