Number guessing game using QuicTransport stream initiated by server
This sample is based on https://github.com/GoogleChrome/samples/tree/gh-pages/quictransport.
- Generate a certificate and a private key and save them in cert directory
- Run
pipenv shell
- Run
pipenv run python ./server/stream_from_server.py ./cert/certificate.pem ./cert/certificate.key
- Install Google Chrome canary version
- Run
open -a /Applications/Google\ Chrome\ Canary.app --args --enable-experimental-web-platform-features --origin-to-force-quic-on=localhost:4433 --ignore-certificate-errors-spki-list=<YOUR FINGERPRINT>
- Open
guessing.html
- Press "Connect" button
- Input a number and press "Send" button