~facundo/enjuewemela/trunk

« back to all changes in this revision

Viewing changes to enjuewemela/replayer.py

  • Committer: facundo at com
  • Date: 2012-11-05 12:14:34 UTC
  • mto: (92.1.15 trunk)
  • mto: This revision was merged to the branch mainline in revision 94.
  • Revision ID: facundo@taniquetil.com.ar-20121105121434-8pdaoelvcu9tq5zp
CodeĀ aesthetics.

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
        # we have the list of pieces to move, from down up, let's move them
148
148
        pos_x, pos_y = to_fill
149
149
        for piece in to_move:
150
 
            gem = self.placed.pop((pos_x, pos_y+1))
 
150
            gem = self.placed.pop((pos_x, pos_y + 1))
151
151
            new_coords = self.board.get_slot_center(pos_x, pos_y)
152
152
            gem.position = new_coords
153
153
            self.placed[(pos_x, pos_y)] = gem