Async I/O snake game example