generated from Arquisoft/wiq_0
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from Arquisoft/front_end_angel
Final screen
- Loading branch information
Showing
3 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"questions":[ | ||
{ | ||
"question": "What is the capital of France?", | ||
"answers": ["London", "Paris", "Berlin", "Madrid"] | ||
}, | ||
{ | ||
"question": "Who wrote 'Romeo and Juliet'?", | ||
"answers": ["William Shakespeare", "Charles Dickens", "Jane Austen", "Emily Brontë"] | ||
}, | ||
{ | ||
"question": "What is the largest mammal?", | ||
"answers": ["Elephant", "Blue whale", "Giraffe", "Hippopotamus"] | ||
}, | ||
{ | ||
"question": "Which planet is known as the Red Planet?", | ||
"answers": ["Venus", "Mars", "Jupiter", "Saturn"] | ||
}, | ||
{ | ||
"question": "What is the chemical symbol for water?", | ||
"answers": ["H2O", "CO2", "NaCl", "O2"] | ||
}, | ||
{ | ||
"question": "Who painted the Mona Lisa?", | ||
"answers": ["Leonardo da Vinci", "Vincent van Gogh", "Pablo Picasso", "Michelangelo"] | ||
}, | ||
{ | ||
"question": "Which is the largest ocean on Earth?", | ||
"answers": ["Atlantic Ocean", "Indian Ocean", "Arctic Ocean", "Pacific Ocean"] | ||
}, | ||
{ | ||
"question": "What is the main ingredient in guacamole?", | ||
"answers": ["Tomato", "Onion", "Avocado", "Lime"] | ||
}, | ||
{ | ||
"question": "Who is the creator of Facebook?", | ||
"answers": ["Mark Zuckerberg", "Jeff Bezos", "Bill Gates", "Elon Musk"] | ||
}, | ||
{ | ||
"question": "Which bird can fly backwards?", | ||
"answers": ["Hummingbird", "Eagle", "Penguin", "Ostrich"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React from "react"; | ||
|
||
type props = { | ||
score : number; | ||
}; | ||
|
||
const GameOver = (props : props) =>{ | ||
|
||
return ( | ||
<div className="flex flex-col items-center justify-center h-screen bg-purple-400 "> | ||
<h1 className="text-6xl font-bold text-purple-950 h-1/4">Game Over</h1> | ||
<div> | ||
<p className="text-black text-3xl">Score: {props.score}</p> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default GameOver; |