Firstly, I think it is good to start with data.
As you may now programming has all sorts of way to save information. To make a standard game I think you should know variables and arrays.
A variable will be written like this...
HP = 100
From writing this the game will now now that at any point you say "HP" it will use the number 100.
1そうだね 未プレイ