{"size": 473, "ext": "js", "max_stars_repo_path": "src/store/index.js", "max_stars_repo_name": "ChuckBorris33/codebreaker-vue", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/store/index.js", "max_issues_repo_name": "ChuckBorris33/codebreaker-vue", "max_issues_repo_issues_event_min_datetime": "2021-10-05T20:00:24.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T08:47:20.000Z", "max_forks_repo_path": "src/store/index.js", "max_forks_repo_name": "ChuckBorris33/codebreaker-vue", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 5, "max_forks_count": null, "avg_line_length": 20.5652173913, "max_line_length": 63, "alphanum_fraction": 0.6828752643}
import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations.js'
import actions from './actions.js'
import { GameState } from '@/lib/game'

Vue.use(Vuex)

const debug = process.env.NODE_ENV !== 'production'

export default new Vuex.Store({
  state: {
    gameState: GameState.SETTINGS,
    code: [],
    guesses: [],
    currentGuess: [undefined, undefined, undefined, undefined],
    dragData: undefined
  },
  mutations,
  actions,
  strict: debug
})
