summaryrefslogtreecommitdiff
path: root/static/index.html
blob: 0cc6ec94d1eb9c238658c536b3f7f302cc7d0b06 (plain)
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
<!doctype html>

<html>
    <head>
        <meta charset="utf-8" />
        <title>Code Golf Leaderboard</title>
        <link rel="stylesheet" href="default.css">
        <script type="text/javascript" src="main.js"></script>
    </head>

    <body onload="on_load()">
        <div id="layout">
            <div id="container">
                <div id="content">
                    <div id="login-links" hidden>
                        <a href="login.html">Login</a> / <a href="register.html">Register</a>
                    </div>
                    <span id="logged-in" hidden></span>
                    
                    <h1>C&amp;! Code Golf Leaderboard</h1>
                    
                    <p>In normal golf, the goal is to get a ball into a hole in as few swings as possible. Code golf is similar, but instead of swings your success is measured in bytes of source code. The following page contains a list of programming challenges. Your task is, first and foremost, to try to solve them, but secondly you should try to do so with as short a program as possible.</p>
                    <p>There are no strict rules, choose whatever language you'd like and have fun with it. The goal is to get you coding and thinking. Some of the problems are challenging, especially the last few. Good luck!o</p>

                    <h2>Problems</h2>
                    
                    <div id="problems">
                        <div class="problem">
                            <h2>Title</h2>
                            <p>Description</p>
                        </div>
                    </div>

                    <p>This leaderboard is lovingly handcrafted by Daniel Hader. The source code is available <a href="https://git.danielhader.net/code_golf.git">here</a> and I encourage you to explore it. There's certainly all sorts of ways to break it and it's hosted on a server that I pay for. Please be respectful to me and the other campers using it. Thanks!</p>
                    
                    <center>&copy; 2026 Daniel Hader</center>
                </div>
            </div>
        </div>
    </body>
</html>