File size: 2,016 Bytes
0591976
 
 
 
 
 
 
 
 
 
 
 
c1d2ac2
0591976
c1d2ac2
0591976
 
 
 
957e7cc
0591976
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
"use client";

import React from "react";
import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
import { Button } from "@/components/ui/button";
import { ExternalLink } from "lucide-react";

export default function AboutTab() {
  return (
    <div className="space-y-6">
      <Card>
        <CardHeader>
          <CardTitle className="text-2xl">About WikiRacing</CardTitle>
          <CardDescription>
            Navigate from one Wikipedia article to another using only hyperlinks
          </CardDescription>
        </CardHeader>
        <CardContent className="space-y-4">
          <p>
            WikiRacing (also known as the Wikipedia Game, Wikispeedia, or WikiClick) is a game where players race to navigate from 
            one Wikipedia article to another using only the hyperlinks within each article. The goal is to reach the target 
            article in the fewest clicks or in the shortest time.
          </p>
          
          <p>
            This implementation allows you to play against AI models or challenge yourself to find the most efficient path 
            between articles.
          </p>

          <h3 className="text-lg font-semibold mt-4">How to Play</h3>
          <ol className="list-decimal pl-5 space-y-2">
            <li>Select a starting article and a target article</li>
            <li>Choose to play yourself or let an AI model play</li>
            <li>Navigate through the articles using the buttons</li>
            <li>Try to reach the target article in as few clicks as possible</li>
          </ol>

          <div className="flex justify-center mt-6">
            <Button variant="outline" className="gap-2" asChild>
              <a href="https://en.wikipedia.org/wiki/Wikipedia:Wiki_Game" target="_blank" rel="noopener noreferrer">
                Learn more on Wikipedia <ExternalLink size={16} />
              </a>
            </Button>
          </div>
        </CardContent>
      </Card>
    </div>
  );
}