title: Using classes to make pieces in chess. Having trouble setting up pawns
body: <p>The exact way I have the board setup is temporary but it's a list:</p>
  <pre><code>Board = []
  
  for y in range(64):
      Board.append(x)
  </code></pre>
  <p>I then created a class to start setting up pieces:</p>
  <pre><code>class Piece:
  
      def __init__(self, type_colour, image, position):
          self.type_colour = type_colour
          self.image = image
          self.position = position
  </code></pre>
  <p>To replace, let's say, 0 to 7 with pawns, I've done this:</p>
  <pre><code>for x in range(8):
      Board[x] = Piece(pawnW, &quot;♙&quot;, x)
  </code></pre>
  <p>I'll sort out pawnW and how to display &quot;♙&quot; later.</p>
  <p>When doing it like this, will it create 8 separate objects that can be moved independently? Is there a better way to do it? I'll be calculating the available moves based on its initial position and I don't want to be accidentally moving all the pieces at once.</p>
  <p>I'm quite the beginner and literally only learned about classes half an hour ago and after successfully doing a Tic-Tac-Tow game that my mate challenged me to do, he told to try and build a functional chessboard. Any advice would be extremely helpful. Cheers.</p>