Skip to content

Commit 94f59fd

Browse files
authored
Update README.md
1 parent d877995 commit 94f59fd

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

README.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,37 @@
11
# Terminal Based Rpg Game (Engine)
2+
### In early stages of development
23

34
### Quick Start
45
```shell
56
$ git clone git@github.com:DuskyElf/rpg-rs.git
67
$ cd rpg-rs
7-
$ cargo run --release
88
```
9+
10+
### Sample Program
11+
```
12+
"Hello, World! This is just so awesome!!!"
13+
?0 "What is your name?"
14+
"Which Branch?" {
15+
"first" => {
16+
?1 "What is your age?"
17+
"Hi $0, you are $1 years old!"
18+
}
19+
20+
"second" => {
21+
"Are you 18+ $0?" {
22+
"yes" => { "Whooo, you can vote" }
23+
"no" => { "Sorry, you can't vote" }
24+
}
25+
}
26+
}
27+
```
28+
29+
### Quick Run
30+
```shell
31+
$ cargo r --release test.rpg
32+
```
33+
34+
### Features that are currently implemented
35+
- Variables
36+
- Asking question into a variable (identifier)
37+
- Branching System

0 commit comments

Comments
 (0)