Menu

How Do I Implement This (Note This Is In C):This Is What My Current Code Consists Of:

How do i implement this (note this is in C):
student submitted image, transcription available below
This is what my current code consists of:
student submitted image, transcription available below
student submitted image, transcription available below
if letter == G is the placement of the enemy from other functions made.
This is an example of what the output should look like:
student submitted image, transcription available below

My command loop etc is already set up, its just this sectoion i need help with

 

Expert Answer

Step 1

In the setup phase, to place a GHOST, the user can use the following command:

G [row][col] [direction]
Explanation:

G denotes the formation…

OR