Added Games
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
%sveltekit.head%
|
||||
|
||||
<link rel="stylesheet" href="/shared.css" />
|
||||
</head>
|
||||
<body data-sveltekit-preload-data="hover">
|
||||
<div style="display: contents">%sveltekit.body%</div>
|
||||
|
||||
932
src/lib/games/lanparty.ts
Normal file
932
src/lib/games/lanparty.ts
Normal file
@@ -0,0 +1,932 @@
|
||||
export default [
|
||||
{
|
||||
name: 'LAN Party',
|
||||
walls: [
|
||||
{
|
||||
name: 'Wall 1',
|
||||
categories: [
|
||||
{
|
||||
name: 'Category 1',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 2',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 3',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 4',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 5',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Wall 2',
|
||||
categories: [
|
||||
{
|
||||
name: 'Category 1',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 2',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 3',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 4',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 5',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'LAN Party 2',
|
||||
walls: [
|
||||
{
|
||||
name: 'Wall 1',
|
||||
categories: [
|
||||
{
|
||||
name: 'Category 1',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 2',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 3',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 4',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 5',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Wall 2',
|
||||
categories: [
|
||||
{
|
||||
name: 'Category 1',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 2',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 3',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 4',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'Category 5',
|
||||
questions: [
|
||||
{
|
||||
points: 100,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 1?',
|
||||
answer: 'Answer 1'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 200,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 2?',
|
||||
answer: 'Answer 2'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 300,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 3?',
|
||||
answer: 'Answer 3'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 400,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 4?',
|
||||
answer: 'Answer 4'
|
||||
}
|
||||
},
|
||||
{
|
||||
points: 500,
|
||||
type: 'SIMPLE',
|
||||
data: {
|
||||
question: 'Question 5?',
|
||||
answer: 'Answer 5'
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
@@ -1,7 +1,14 @@
|
||||
<nav>
|
||||
<a href="/">home</a>
|
||||
<a href="/about">about</a>
|
||||
</nav>
|
||||
<script lang="ts">
|
||||
import games from '$lib/games/lanparty';
|
||||
</script>
|
||||
|
||||
<h1>home</h1>
|
||||
<p>this is the home page.</p>
|
||||
<h1 class="m-4 mb-8 text-7xl font-bold">Jeopardy</h1>
|
||||
|
||||
<div class="flex flex-col space-y-4">
|
||||
{#each games as game}
|
||||
<a
|
||||
class="ms-4 me-4 rounded-xl border-2 p-4 hover:cursor-pointer hover:bg-emerald-200"
|
||||
href="/{game.name.toLocaleLowerCase().replaceAll(' ', '_')}">{game.name}</a
|
||||
>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
1
src/routes/[game]/+page.svelte
Normal file
1
src/routes/[game]/+page.svelte
Normal file
@@ -0,0 +1 @@
|
||||
<h1>This is Game ...</h1>
|
||||
@@ -1,7 +0,0 @@
|
||||
<nav>
|
||||
<a href="/">home</a>
|
||||
<a href="/about">about</a>
|
||||
</nav>
|
||||
|
||||
<h1>about</h1>
|
||||
<p>This is the about section</p>
|
||||
Reference in New Issue
Block a user