Live score websites work by using a method called a 'server push' which is where the sever is pushing updates to the website when it is programmed to, rather than the website or the interface "pulling" data itself.
Every time a relevant event happens on the server, this information is pushed out to the website in almost real time.