Skip to content

Commit 51d27a5

Browse files
committed
modified readme
1 parent d64f1ec commit 51d27a5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,24 @@ Brainfuck is an esoteric language, or joke language, that is turing-complete and
44

55
# HOW DO I BRAINFUCK?
66

7-
Even though brainfuck is somewhat hard, it has only 7 instructions, and those are:
7+
Even though brainfuck is somewhat hard, it has only 8 instructions, and those are:
88

99
```
1010
+ --> Adds 1 to the cell it's in.
1111
1212
- --> Removes 1 to the cell it's in.
1313
14-
> --> Changes the cell position by 1.
14+
> --> Changes the cell it's in by 1.
1515
16-
< --> Changes the cell position by -1.
16+
< --> Changes the cell it's in by -1.
1717
1818
, --> Allows for input.
1919
2020
. --> Echoes the value of the cell.
2121
22-
[] --> Loops the instructions inside them as long as in the cell it ends on isn't 0.
22+
[ --> Starts a loop.
23+
24+
] --> Goes to the last open bracket if it doesn't end on 0 / null.
2325
```
2426

2527
Every character other than those is ignored.

0 commit comments

Comments
 (0)