Inspiration
My inspiration is to provide Cybersecurity Literature to society to avoid online cyber attacks, hacking etc.
What it does
I have created a game to promote personal cybersecurity. A game for family, friends, or other non-professional end users. This game also promotes cybersecurity for organizations. A game for professional and workplace end users. Its a multiple choice fun game which entertains you and also you get to know how can we secure our online presence.
How we built it
- Developed using node.js/express
- Questions stored in MongoDb Atlas
Libraries Used:
- node.js
- express
- mongoose
- ejs
- nodemon
- cors
- dotenv
- body-parser
List of APIs:
- /questions - Get all questions
- /questions/:slot - Get all questions per slot
- /check/:questionId - Get a specific question
- /checkanswer/:questionId - Get answer of specific question
- /lifelines/audiencepoll/:questionId - Get audience poll results
- /lifelines/50-50-to-audiencepoll/:questionId/:removedOption1/:removedOption2 - Get audience poll results after 50-50
- /lifelines/fiftyfifty/:questionId - Get 50-50 results
- /lifelines/flipthequestion/:questionId/:slot - Get flipped question
- /lifelines/asktheexpert/:questionId - Get ask the experts results
- /lifelines/50-50-to-asktheexpert/:questionId/:removedOption1/:removedOption2 - Get ask the experts results after 50-50
- /add - Post to add a new question from /addquestion
Lifeline Logic
-Audience Poll
- Less than 40,000 - Correct answer will have atleast 50% votes
- Less than 3,20,000 - Correct answer will have atleast 30% votes
- Above 3,20,000 - Correct answer will have atleast 10% votes
-50-50
- Removes two wrong answers
-Flip the Question
- Replaces current question with a new question of the same slot
-Ask the Expert
- 80% chance of telling the correct answer
Challenges we ran into
Challenge was integrating voice into the game
Accomplishments that we're proud of
Finally build the full stack game
What we learned
Building a game and integrating voice into it
What's next for Cyber Warrior
Building multiplayer game and creating leaderboard
Built With
- body-parser
- cors
- dotenv
- ejs
- express.js
- html
- javascript
- mongodb
- mongoose
- node.js
- nodemon
Log in or sign up for Devpost to join the conversation.