Good morning
As you can see we have 3 files here, the prototype of the game [dark_night_v1], a one I created to test the inventory [inventory_test] and finally the "complete" version, which we'll be executing right now [dark_night_v2]:
To start things off we have the text describing the scene, a list of commands of what the character can do and an input for the player to type their actions based on the list.
> stay
When we reach an end in the game, the input name changes to "Restart" and if you type:
> restart
The terminal will be cleared and the game will reset.
> go
Now we have 3 more commands.
Whenever you use:
> inventory
It will display the items that you've currently collected:
Nothing
And also, when you use the inventory command the text and the available commands will be showed once again so the player doesn't lose track of what's happening in the scene if he uses too many > inventory s.
Now if you decide to > pick_up the shovel and then check your inventory again, you'll see that it is there now.
We're almost in the end here, because when you start > walk ing you'll be able to choose a direction to go:
And now, whatever direction you choose will lead to a restart:
I'm really enjoying studying programming by myself and this little project was definitely great for my learning process. I'd recommend beginners to give this little challenge a shot if there is some extra time.
Dunno if anybody will be interested on checking out the actual code, if so, i can send the .txt of the bat file.
Have a good day y'all

As you can see we have 3 files here, the prototype of the game [dark_night_v1], a one I created to test the inventory [inventory_test] and finally the "complete" version, which we'll be executing right now [dark_night_v2]:
To start things off we have the text describing the scene, a list of commands of what the character can do and an input for the player to type their actions based on the list.
> stay
When we reach an end in the game, the input name changes to "Restart" and if you type:
> restart
The terminal will be cleared and the game will reset.
> go
Now we have 3 more commands.
Whenever you use:
> inventory
It will display the items that you've currently collected:
Nothing

And also, when you use the inventory command the text and the available commands will be showed once again so the player doesn't lose track of what's happening in the scene if he uses too many > inventory s.
Now if you decide to > pick_up the shovel and then check your inventory again, you'll see that it is there now.
We're almost in the end here, because when you start > walk ing you'll be able to choose a direction to go:
And now, whatever direction you choose will lead to a restart:
I'm really enjoying studying programming by myself and this little project was definitely great for my learning process. I'd recommend beginners to give this little challenge a shot if there is some extra time.
Dunno if anybody will be interested on checking out the actual code, if so, i can send the .txt of the bat file.
Have a good day y'all