input: Write a python function to simulate a card memorization game. The function should shuffle a deck of cards, display each card to the user, and ask them to remember it. If the user correctly recalls the card, they score a point; otherwise, the game ends. For testing, assume user input can be simulated. 
  ```python
  assert simulate_game(['A', 'A', 'K', 'Q'], ['A', 'A', 'Q', 'Q']) == 2
  assert simulate_game(['2', '3', '4', '5'], ['2', '3', '4', '5']) == 4
  assert simulate_game(['10', 'J', 'Q', 'K'], ['10', 'Q', 'Q', 'K']) == 1
output: import random
  
  def simulate_game(deck, user_inputs):
      random.shuffle(deck)
      score = 0
      for card, user_input in zip(deck, user_inputs):
          if card == user_input:
              score += 1
          else:
              break
      return score