 
   player2_positive_answer = ->
     console.log('Positive user answer')
-    proceed_question(p1_question)
+    proceed_question('+' + p1_question)
     false
 
   player2_negative_answer = ->


  initiate = (jquestion_panel, p1_type, p1_cards, p2_cards) ->  # p1_type - comp or player // p2_cards jquery selectors
    unless (state)
      $('body').on 'click', '.ask_question', ask_question

      $('body').on 'click', '.answer_yes', player2_positive_answer



  proceed_question = (question)->
    is_first_player = state == states['player1']

    obj_list = if is_first_player then p2_cards_obj else p1_cards_obj
    selector_list = if is_first_player then p2_cards_jquery else p1_cards_jquery

    negative = question[0] == '-'

    [hkey, hvalue] = question.substring(1).split('|')

    index = 0
    for key, value of obj_list
      predictable = value[hkey] != hvalue
      if (negative) then  predictable = !predictable

      if (predictable)
        selector_list[index].addClass('back')
        selector_list.splice(index, 1)
        delete obj_list[key]
      else
        index++

    if selector_list.length == 0
      finished(if is_first_player then 'player1' else 'player2')
    else
      change_turn()


  change_turn = ->
