diff options
Diffstat (limited to 'static/index.html')
| -rw-r--r-- | static/index.html | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/static/index.html b/static/index.html index 3fd75e3..0cc6ec9 100644 --- a/static/index.html +++ b/static/index.html @@ -12,12 +12,17 @@ <div id="layout"> <div id="container"> <div id="content"> - <a href="login.html">Login</a> + <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&! 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> - <p>In golf, the goal is to get a ball into a hole in as few swings as possible. The goal of code golf is similarly to solve a problem in as few bytes (of source code) as possible. The following is a list of programming challenges. Your task is to try and solve them in Python with as little code as possible measured in bytes.</p> - + <h2>Problems</h2> <div id="problems"> <div class="problem"> @@ -26,8 +31,8 @@ </div> </div> - <button onclick="fetch_problems()">Refresh Problems</button> - + <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>© 2026 Daniel Hader</center> </div> </div> |
