Skip to content

Commit 650148f

Browse files
committed
2 parents 1cbb5e2 + d6aeabc commit 650148f

18 files changed

Lines changed: 155 additions & 87 deletions

File tree

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"workbench.colorTheme": "Default High Contrast Light",
3-
"editor.fontFamily": "'Wide Latin', 'Comic Sans MS', 'DejaVu Sans Serif', cursive, sans-serif",
2+
"workbench.colorTheme": "Abyss",
3+
//"editor.fontFamily": "'Wide Latin', 'Comic Sans MS', 'DejaVu Sans Serif', cursive, sans-serif",
44

55
"highlight.regexFlags": "gi",
66
"highlight.regexes": {

Examples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## New Examples
1+
## Examples
22

3-
You want to see the new examples? Did you even read all the new features of DreamBerd - e/acc? Or did you just skip straight to the examples? You should really learn the new features of DreamBerd - e/acc first.<br>
3+
You want to see the examples? Did you even read all the features of DreamBerd? Or did you just skip straight to the examples? You should really learn the features of DreamBerd first.<br>
44

55
Please go back to the features page by following [this link](https://github.com/TodePond/DreamBerd/blob/main/README.md).<br>
66
When you have finished reading the features, you can find the _real_ examples [here](https://github.com/TodePond/DreamBerd/blob/main/res/Examples.md).

LICENSE.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Congratulations! You found the hidden examples page!
44

5-
Here are some examples of DreamBerd - e/acc in action! Sorry - there aren't many.
5+
Here are some examples of DreamBerd in action!
66

77
## Hello world
88

@@ -24,21 +24,6 @@ when (i < 20) i++!
2424
i = 0!
2525
```
2626

27-
## Keyboard
28-
29-
```java
30-
const var keys = {}!
31-
after ("keydown") e => keys[e.key] = true!
32-
after ("keyup") e => keys[e.key] = false!
33-
34-
const var count = 0!
35-
36-
when (keys[" "] = true) {
37-
count++!
38-
"You've pressed the space bar {count} times"?
39-
}
40-
```
41-
4227
## Fibonacci
4328

4429
```java
@@ -57,6 +42,16 @@ when (i < 10) {
5742
}
5843
```
5944

45+
## Counter
46+
47+
```java
48+
const var count = 0!
49+
var const Button = <button></button>!
50+
when count Button.textContent = Count: £{count}!
51+
Button.addEventListener click => count++!
52+
document.body.append Button!
53+
```
54+
6055
## The Billion Dollar Mistake
6156

6257
```java

0 commit comments

Comments
 (0)