Group project for Hacktiv8
- Input name di halaman /home, kalo sudah play tidak bisa join redirect ke /waiting
- emit ke server data user
- di server simpan ke variable/db
- server emit ke client pakai (io.emit)
- kalo sudah 2 muncul tombol play
- tombol play emit
- reroute ke play
- page /play
- hit api dapet data pertanyaan
- server emit ke client data pertanyaan
- client menampilkan data pertanyaan
- swal() buat menampilkan score
- setelah selesai tampilkan tombol play again
- atau ke /home
- Input your name, then click join
- Wait for your opponent in the lobby
- Answer the questions in the best of your ability
- Wait for your opponent to finish their game
- Compare your score