Apr-18-2022, 03:12 PM
I wonder if you could explain and simplify this line of code
self.tiles = [[1]*4 for n in range(4)]as well as this one? Thanks
action = random.choice([x for x in cur_tile.actions if x is not None])