Skip to content

Commit 08ddc2e

Browse files
authored
Added a template for adding new puzzles as "issues"
1 parent e22bd83 commit 08ddc2e

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: New puzzle
3+
about: Create your own puzzle by defining a function
4+
title: New puzzle
5+
labels: New-puzzle
6+
assignees: akalai
7+
8+
---
9+
10+
```python
11+
def sat(x: str):
12+
"""optional problem description"""
13+
return "Hello " + x == "Hello world" # change this to your puzzle
14+
```
15+
16+
Solution hidden below so that other people can try to solve it.
17+
<details><summary>Reveal solution</summary>
18+
19+
```python
20+
def sol():
21+
return "world" # replace with your solution
22+
```
23+
</details>
24+
25+
Please post your solutions to this puzzle in the comments using the following formatting:
26+
````
27+
<details><summary>Reveal solution</summary>
28+
```python
29+
def sol():
30+
return "world" # replace with your solution
31+
```
32+
</details>
33+
````

0 commit comments

Comments
 (0)