     if player.word?.remain == ''
         player.point += player.word.full.length
         inventory.add(player.word)
-        pool_words.update()
+        pool.update()
         player.word.reset()
         player.word = null
         player.lvl += 1
-        pool_words.autofill()
+        pool.autofill()
     if player.pair?.remain == ''
         player.pair = null

        @game = null
        @longest = []


pool_words = new class
    constructor: ->
        @words = []
        @actions = ['box', 'kick', 'punch', 'strike']


    attack: ->
        @words.some (word) -> word.left <= 0


inventory = new class
