import computed from 'ember-computed';
import Component from 'ember-component';
import injectService from 'ember-service/inject';

export default Component.extend({
  bitsTags: injectService('bitsTags'),

  showMatch: computed.readOnly('bitsTags.sufficentTagsForMatch'),

  player1Tag: computed.readOnly('bitsTags.player1Tag'),
  player2Tag: computed.readOnly('bitsTags.player2Tag'),
  player1Total: computed.readOnly('bitsTags.player1Count'),
  player2Total: computed.readOnly('bitsTags.player2Count')
});
