Versions
- Open: VersionChanges from v52 to v53+0-0⦚ 769 unchanged lines ⦚⦚ 769 unchanged lines ⦚
- Open: VersionChanges from v51 to v52+1-1⦚ 261 unchanged lines ⦚return (<div className="profile logged-out">
<form onSubmit={handleLogin} className="login-form"><p">Log in to track your answers.</p><inputtype="text"⦚ 502 unchanged lines ⦚⦚ 261 unchanged lines ⦚return (<div className="profile logged-out"><p className="login-message">Log in to track your answers.</p><form onSubmit={handleLogin} className="login-form"><inputtype="text"⦚ 502 unchanged lines ⦚ - Open: VersionChanges from v50 to v51+1-1⦚ 261 unchanged lines ⦚return (<div className="profile logged-out">
<p className="login-message">Log in to track your answers.</p><form onSubmit={handleLogin} className="login-form"><inputtype="text"⦚ 502 unchanged lines ⦚⦚ 261 unchanged lines ⦚return (<div className="profile logged-out"><form onSubmit={handleLogin} className="login-form"><p">Log in to track your answers.</p><inputtype="text"⦚ 502 unchanged lines ⦚ - Open: VersionChanges from v49 to v50+1-1⦚ 119 unchanged lines ⦚</li><li>
<span className="step-number">2</span> Based on your answers we'll determine your values.</li><li>⦚ 645 unchanged lines ⦚⦚ 119 unchanged lines ⦚</li><li><span className="step-number">2</span> Then based on your answers we'll determine your values.</li><li>⦚ 645 unchanged lines ⦚ - Open: VersionChanges from v48 to v49+1-1⦚ 116 unchanged lines ⦚<ol><li>
<span className="step-number">1</span> Answer some "would you rather" questions.</li><li>⦚ 648 unchanged lines ⦚⦚ 116 unchanged lines ⦚<ol><li><span className="step-number">1</span> Answer some "would you rather" questions...the more the better.</li><li>⦚ 648 unchanged lines ⦚ - Open: VersionChanges from v47 to v48+4-4⦚ 110 unchanged lines ⦚<div className="splash-header"><h1 className="splash-title">Woodu</h1>
<p className="splash-subtitle">a game of questions to discover your values</p></div><div className="how-it-works-container"><h2>How it works</h2><ol><li><span className="step-number">1</span> Answer some questions of the "would you rather" variety.</li><li><span className="step-number">2</span> Based on the ranking of your answers we'll determine your values.</li><li><span className="step-number">3</span> Get to know more about yourself and your friends!</li></ol>⦚ 642 unchanged lines ⦚⦚ 110 unchanged lines ⦚<div className="splash-header"><h1 className="splash-title">Woodu</h1><p className="splash-subtitle">a questionable game to discover your values</p></div><div className="how-it-works-container"><h2>How it works</h2><ol><li><span className="step-number">1</span> Answer some "would you rather" questions.</li><li><span className="step-number">2</span> Based on your answers we'll determine your values.</li><li><span className="step-number">3</span> Get to know you and your friends!</li></ol>⦚ 642 unchanged lines ⦚ - Open: VersionChanges from v46 to v47+4-4⦚ 25 unchanged lines ⦚const ANSWER_OPTIONS = ["Have the ability to see through people's clothes",
"Have the ability to murder anyone you want without any consequences","Have a tight knit, loyal friend group","Have another set of eyes in the back of your head (they are fully functional)","Have a very physically attractive romantic partner","Be able to Spawn pizzas on command by snapping your fingers (max 2 per 12 hours)","Eat whatever you want and stay at your ideal weight","Have perfect health your whole life except for the illness that will eventually kill you","Have a job you like that pays 3x the usual salary",⦚ 734 unchanged lines ⦚⦚ 25 unchanged lines ⦚const ANSWER_OPTIONS = ["Have the ability to see through people's clothes","Have the ability to murder anyone without any consequences","Have a tight knit and loyal friend group","Have another set of eyes in the back of your head (they are fully functional)","Have a very physically attractive romantic partner","Be able to spawn pizzas by snapping your fingers (max 2 per 12 hours)","Be able to eat whatever you want and stay at your ideal weight","Have perfect health your whole life except for the illness that will eventually kill you","Have a job you like that pays 3x the usual salary",⦚ 734 unchanged lines ⦚ - Open: VersionChanges from v45 to v46+1-1⦚ 628 unchanged lines ⦚align-items: center;justify-content: flex-start;
width: 100vw;height: 100vh;text-align: center;⦚ 136 unchanged lines ⦚⦚ 628 unchanged lines ⦚align-items: center;justify-content: flex-start;width: 90vw;height: 100vh;text-align: center;⦚ 136 unchanged lines ⦚ - Open: Version+769-0/*** This app implements a "Would You Rather" game with a ranking system for answers and a progress bar.* It uses React for the frontend and SQLite for persistent storage on the backend.* The ranking system updates based on user choices and displays in the Answers tab.* A progress bar is added to show completion of 20 questions.*//** @jsxImportSource https://esm.sh/react */import React, { useCallback, useEffect, useState } from "https://esm.sh/react";import { createRoot } from "https://esm.sh/react-dom/client";import {BrowserRouter as Router,Link,Route,Routes,useLocation,useNavigate,} from "https://esm.sh/react-router-dom";// Typestype Question = { id: number; option1: string; option2: string };type Answer = { questionId: number; answer: string };type User = { id: number; username: string };type EloRanking = { answer: string; score: number };// Constantsconst ANSWER_OPTIONS = ["Have the ability to see through people's clothes","Have the ability to murder anyone you want without any consequences","Have a tight knit, loyal friend group","Have another set of eyes in the back of your head (they are fully functional)","Have a very physically attractive romantic partner","Be able to Spawn pizzas on command by snapping your fingers (max 2 per 12 hours)","Eat whatever you want and stay at your ideal weight","Have perfect health your whole life except for the illness that will eventually kill you","Have a job you like that pays 3x the usual salary",];
kaz-reluctantcoffeegayal.web.val.run
Updated: August 22, 2024