dhgamache/Tic-Tac-Toe-JS — comment on commit ac14e705d1dd34f4ff6a86a0f189a01f6f5ed99e
File: tictactoe-v2.js line 81
By fat:

> Can I put event handlers in the ttt object instead of outside

Yes - you can

> how do you do that?

The convention is to create something like an init method.

```js
ttt = {

init: function () {
// my one time setup logic ... like event handlers, etc.
}

}

ttt.init()
```