# browser #### Easy **Chance** instantiates itself onto the window. This means that in the simplest case you can just include the script tag then use an instance of **Chance** immediately. ```html ``` The above snippet would result in either true or false being logged to your console. Note how the instance is lowercase *chance*. Uppercase *Chance* is the constructor which will create a new instance of **Chance**. #### Intermediate You can also ignore the global instantiation of **Chance** and create your own. This allows you to create multiple instances if you'd like. For convenience, we also bind **Chance** to window so it's accessible globally in the browser at *window.Chance* or just *Chance*. ```html ``` #### Advanced If you create your own instance of **Chance**, you can provide your own seed if you would like to be repeatable or if you'd like a more truly random seed. In the below example, I am doing an AJAX call to hit [Random.org][random] to retrieve a *true* random number which I use to seed Chance. ```html ``` [random]: http://www.random.org