             if fullword == word.full
                 return @words[i]
 
+    get_name: (c) ->
+        if c == @name?.remain[0]
+            return @name
+
     index: (find) ->
         for word, i in @words
             if word.full == find.full

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


    autofill: ->
        for [1..player.lvl-@words.length]
            @add()

    get: (c) ->
        for word, i in @words
            if c == word.remain[0]
                return @words[i]

    loop: ->
        for word in @words
            word.move()

