Here are terminal games I asked ChatGPT to create for me, specifically to practice basic commands such as ls, cd, cat, mv, and rm. It created a script that will initialize some directories and files for you. They're not the best or perfect, but it's a fairly simple script to analyze and see how scripting works in bash!
Download the script and type: bash [script_name.sh] -help
You'll see some options come up:
bash [script_name.sh] init # initiatlizes the directories and files
bash [script_name.sh] reset # deletes and recreates the game
bash [script_name.sh] check # tells you if you did all the objectives