Skip to content

Commit 1dd48bf

Browse files
committed
make a lil frontend
1 parent 7b213dd commit 1dd48bf

11 files changed

+3815
-156
lines changed

.gitignore

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?
25+
26+
# ReScript
27+
/lib/
28+
.bsb.lock
29+
.merlin

README.md

+6-156
Original file line numberDiff line numberDiff line change
@@ -1,161 +1,11 @@
11
# Algorithm Arena
22

3-
A weekly programming challenge series by [vjeux](https://github.com/vjeux).
3+
This is a simple frontend collecting the [Algorithm Arena](https://github.com/Algorithm-Arena) challenges by [vjeux](https://github.com/vjeux).
44

5-
https://github.com/Algorithm-Arena
5+
## Dev
66

7-
## #1 - Stockfish Chess
7+
Run the Vite dev server:
88

9-
Implement a program to play chess 1v1 against a bot using the normal chess rules. The twist is that you need to use stockfish to spice up the game in an interesting way.
10-
11-
https://github.com/Algorithm-Arena/weekly-challenge-1-stockfish-chess
12-
13-
## #2 - Double Lines
14-
15-
Implement an algorithm that draws two lines side by side without overlapping. It must handle an arbitrary amount of points where each 3 consecutive points are forming a 90 degrees angle.
16-
17-
https://github.com/Algorithm-Arena/weekly-challenge-2-double-lines
18-
19-
## #3 - Bouncy Form
20-
21-
Implement a form with a bouncy ball that follows you around as you fill it and implements the "Squash & Stretch" technique from Disney's 12 Principles of Animation. The only restriction on the form is that there must be at least 5 fields to fill out.
22-
23-
https://github.com/Algorithm-Arena/weekly-challenge-3-bouncy-form
24-
25-
## #4 - Encrypted Thread
26-
27-
Implement a Twitter/X/Threads experience where you can see a thread and reply to it. The entire data of the thread must live in the URL and be end to end encrypted. You can take inspiration from [this blog post that explains how it works on Excalidraw](https://blog.excalidraw.com/end-to-end-encryption/). The hashtag part of the URL must be below 2000 characters.
28-
29-
https://github.com/Algorithm-Arena/weekly-challenge-4-encrypted-thread
30-
31-
## #5 - Copy Pasta
32-
33-
Implement a program that you can paste content in a certain format, and it will let you copy this content in a different format (eg: text/plain, text/html, image/png). You need to support at least 3 formats and they must form a loop such that you can keep copy pasting in an infinite loop.
34-
35-
https://github.com/Algorithm-Arena/weekly-challenge-5-copy-pasta
36-
37-
## #6 - Pretty Shape
38-
39-
Implement a program that takes in some code and a shape and pretty prints the code to look like the shape.
40-
41-
https://github.com/Algorithm-Arena/weekly-challenge-6-pretty-shape
42-
43-
## #7 - Scores Timeline
44-
45-
Implement a program that animates a list of scores over time.
46-
47-
https://github.com/Algorithm-Arena/weekly-challenge-7-scores-timeline
48-
49-
## #8 - Ultimate Tic-Tac-Toe
50-
51-
Implement a program that plays the game of [ultimate tic tac toe](https://en.wikipedia.org/wiki/Ultimate_tic-tac-toe), a variant of tic tac toe where you play 9 smaller games to beat a larger meta game.
52-
53-
https://github.com/Algorithm-Arena/weekly-challenge-8-ultimate-tic-tac-toe
54-
55-
## #9 - Dragon Ball
56-
57-
Implement a program that takes a position on Earth and find 6 other points on land that are the farthest away from each others.
58-
59-
https://github.com/Algorithm-Arena/weekly-challenge-9-dragon-ball
60-
61-
## #10 - Password Generator
62-
63-
Implement a program that takes a set of at least 5 password rules and generate a password that satisfies those rules.
64-
65-
https://github.com/Algorithm-Arena/weekly-challenge-10-password-generator
66-
67-
## #11 - Mini Code Golf
68-
69-
Implement a program that lets you play mini golf where the source code is using the smallest amount of characters.
70-
71-
https://github.com/Algorithm-Arena/weekly-challenge-11-mini-code-golf
72-
73-
## #12 - Fools Cursor
74-
75-
Implement a program that rotates your cursor towards the interactive elements on the screen.
76-
77-
https://github.com/Algorithm-Arena/weekly-challenge-12-fools-cursor
78-
79-
## #13 - Three Body Eclipse
80-
81-
Implement a program that given the position of three celestial bodies, will predict the time of the next eclipse, when they are aligned in a straight line.
82-
83-
https://github.com/Algorithm-Arena/weekly-challenge-13-three-body-eclipse
84-
85-
## #14 - Lightbulb Coin
86-
87-
Implement a blockchain using md5 as the hash function that stores a ledger for 💡 coins.
88-
89-
https://github.com/Algorithm-Arena/weekly-challenge-14-lightbulb-coin
90-
91-
## #15 - Cactus Generator
92-
93-
Implement a way to randomly generate images of cactus.
94-
95-
https://github.com/Algorithm-Arena/weekly-challenge-15-cactus-generator
96-
97-
## #16 - Branded Qrcode
98-
99-
Implement a QRCode generator where the image fits the style of your favorite brand.
100-
101-
https://github.com/Algorithm-Arena/weekly-challenge-16-branded-qrcode
102-
103-
## #17 - Karaoke Box
104-
105-
Implement a karaoke visualization of a song where you display an indication of when the next set of lyrics is going to happen.
106-
107-
https://github.com/Algorithm-Arena/weekly-challenge-17-karaoke-box
108-
109-
## #18 - Vc Simulator
110-
111-
Implement a simulation of many different startups (valuation, raising money, getting acquired, dying) and being able to play a Venture Capitalist that invests in some of them and tracking the returns of their fund.
112-
113-
https://github.com/Algorithm-Arena/weekly-challenge-18-vc-simulator
114-
115-
## #19 - Falling Breakout
116-
117-
Implement the [classical Atari game Breakout](<https://en.wikipedia.org/wiki/Breakout_(video_game)>) with a twist: the bricks must be going down in a way that makes the game fun to play.
118-
119-
https://github.com/Algorithm-Arena/weekly-challenge-19-falling-breakout
120-
121-
## #20 - Extravagant Button
122-
123-
Implement a UI button that the opposite of "flat"; feel free to use gradients, 3D, animations, fireworks, etc.
124-
125-
https://github.com/Algorithm-Arena/weekly-challenge-20-extravagant-button
126-
127-
## #21 - Unconventional Clock
128-
129-
Implement a program that tells time, in an unconventional way.
130-
131-
https://github.com/Algorithm-Arena/weekly-challenge-21-unconventional-clock
132-
133-
## #22 - Concert Effects
134-
135-
Implement a program that generates a visual effect that could be used in a concert.
136-
137-
https://github.com/Algorithm-Arena/weekly-challenge-22-concert-effects
138-
139-
## #23 - Unconventional Randomness
140-
141-
Implement a program that generates random numbers using unconventional inputs.
142-
143-
https://github.com/Algorithm-Arena/weekly-challenge-23-unconventional-randomness
144-
145-
## #24 - Stairs Animations
146-
147-
Implement a program that makes a character go up stairs as the user is pressing right.
148-
149-
https://github.com/Algorithm-Arena/weekly-challenge-24-stairs-animations
150-
151-
## #25 - Grid Group
152-
153-
Implement a program that generates a grid view of various groups of elements
154-
155-
https://github.com/Algorithm-Arena/weekly-challenge-25-grid-group
156-
157-
## #26 - Loser Tournament
158-
159-
Implement a program that simulates a tournament where the worst players have a chance of winning.
160-
161-
https://github.com/Algorithm-Arena/weekly-challenge-26-loser-tournament
9+
```sh
10+
npm run dev
11+
```

index.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Algorithm Arena</title>
7+
</head>
8+
9+
<body>
10+
<div id="root"></div>
11+
<script type="module" src="/src/main.jsx"></script>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)