title: Extern, headers, global variables
body: <p>I'm making a game, the current structure of my program is like the following...</p>
  
  <p><img src="https://i.stack.imgur.com/tnsjn.png" alt="prog structure"></p>
  
  <p>The problem I'm having is that I have a function in <code>init_game.c</code> that initialises the players boards with the necessary data, once I have these initialised boards I need <code>the_game.c</code> to use these initialised boards (from <code>init_game.c</code>). </p>
  
  <p>I'm confused on how I would get this to work with <code>extern</code>'s</p>
  
  <p><strong>EDIT:</strong> Clarification - I'm wondering how I can use the <code>extern</code> keyword with my programs structure to allow me to use the players <strong>initialised</strong> 2D <code>char</code> array (which gets initialised in the file <code>init_game.c</code> but is first defined in the <code>attributes.h</code> file) in the file <code>the_game.c</code></p>
  
  <p>Added a picture below for clarification to my problem...
  <img src="https://i.stack.imgur.com/3knN1.png" alt="enter image description here"></p>