Created on 20th June 2021
•
This project is made with the goal to fight Mental Health Issues, which are at peak during Covid-19. Currently it is availaible as a Web Application where users can play the famous Truth Dare and Stare game with video and audio chat with their friends. Due to corona and lock down in many countries we are facing a serious mental health issues, specially the students who at this time enjoy the summer vacations with their friends are locked inside their houses. And the only thing we can do is to wait for the situation to improve. To contribute towards improving mental health we have made this game so that one can connect with their friends and enjoy, laugh and play with them. We believe that, "spending time with friends is the best way to bring smile".
To make the game even more engaging and fun we have score feature and also we have suggestions for "Truth" and "Dare" on four different categories(Kids, Friends, Couples, Close Couples), thats not it, we have even implemented the additional feature to send stickers during game to keep the fun going.
There were many problems we ran into, but these took most efforts and time to solve:
Implementing video chat feature-> At first when we started to develop the project none of us had any idea about how to implement a video call feature, than we came to know about WebRTC, so we made almost three different seperate mini projects using WebRTC, and tested them, none of the three "mini projects" worked smoothly for more than three people in a same room, this is when we came to know about mesh and other things. After doing some search we found about Twilio communication API, which had an API called Programmable Video API which is based on WebRTC but for more than two people in a room it uses a media server for lag free video streaming. We again made a mini project to test twilio, and it worked as per our expectations and we finally decided to go with twilio as our way of implementing video chat feature.
Real Time feature-> As our application needs to deliever information in real time from one client to another in several features, like on pressing "Spin" button bottles on all connected clients should start spinning immediately, than also when "Performer" chooses the task and category we needed a real time information delievery to "Task Giver" and many other features required real time delievery. We first tested it with sending message to server than server sending message to other client, but this was obeviously a bad approach and also we were not able to do many things as we expected. Than again after some "Googling" we found about the Data Track API again given by our saviour Twilio, which was actually a socket based communication(and we already had socket based connection for video chat) so it was almost real time.
Technologies used