Question: PROGRAM DESCRIPTION: Pre-Tasks: Create a directory named Minor2 Clone the game Github repository into your Minor2 directory o git clone https://github.com/pihades/bash-snake.git Create a minor2.sh bash
PROGRAM DESCRIPTION: Pre-Tasks: Create a directory named Minor2" Clone the game Github repository into your Minor2" directory o git clone https://github.com/pihades/bash-snake.git Create a minor2.sh bash script within your "Minor2" directory Scenario: You are given a simple snake game written in Bash. Your first taskis to read the instructions on how to play it via any Unix/Linux shell. Before, you start to play the game, you must: Record your terminal session using script command utility and save the session into a file named "minor2 session", without the quotes. Start the game, and play it until the game session ends. To stop recording your terminal session, send "CTRLAD" signal. To-do: 1. write a bash script named "minor2.sh" to analyze your "minor2 session saved a terminal session. 2. In your bash script comments' section, add the summary (about one paragraph or so) about how the snake game works based on your understanding of the game source code. BONUS: In your bash script comments' section, provide a clear and concise plan features-wise on how can you extend or improve this game OR provide this game critique analysis summaryz. (+10 pts) More specifically: Your bash script should accept the recorded terminal session file as a command line argument. Then, your script should display a menu, and respective prompts to view the contents of the "minor2 session file. Your bash script should employ mechanism to continue providing the menu to the user and acting on the user's choices, until the user decides to end the dialogue. Hint: grep, head, tail (Recommended Unix/Linux utilities). Please see the SAMPLE OUTPUT as this assignment's minimal required set of outputs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
