From inspecting the code through developer tools of Chrome, we get a hint that it is using the socket library.
Here we noticed that the event "Victory" will print out flag
![](http://i63.tinypic.com/4kcn77.png)
Going through the code we see another piece of code that broadcast event "movePlayer".
![](http://i66.tinypic.com/25i3foh.png)
On Console tab of developer tool, we copy pasted and executed the code with  random value for x and y. Then we tried it with values 1366, 768 since it represents top right corner of the screen and BINGO!! we got the flag.
![](http://i66.tinypic.com/156a4q0.png)