Hooking game up for Intel XDK