```coffeescript
class Player

  constructor: (pos) ->
    @positions = []
    @positions.push(pos)

  lastPos: ->
    @positions[@positions.length - 1]

window.Player = Player
```

Store current line in Player class
user
```coffeescript
class Player

  constructor: (pos) ->
    @positions = []
    @positions.push(pos)
    @current_line = []

  lastPos: ->
    @positions[@positions.length - 1]

window.Player = Player
```
assistant