You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,12 +13,7 @@ This is an idle game where the point is to open a netcat connection to the serve
13
13
14
14
The game has evolved to become semi-interactive, as there is now an element of purchasing upgrades to improve the performance of your miners, but this is entirely optional.
15
15
16
-
## Use
17
-
18
-
To start, run the `idlecoin` server:
19
-
```rust
20
-
cargorun--release
21
-
```
16
+
## Start Client Miner
22
17
23
18
To join a server, use `netcat` or `telnet` to connect to the server:
24
19
```bash
@@ -28,9 +23,16 @@ nc 127.0.0.1 7654
28
23
telnet localhost 7654
29
24
```
30
25
26
+
## Start Server
27
+
28
+
To start, run the `idlecoin` server:
29
+
```rust
30
+
cargorun--release
31
+
```
32
+
31
33
The stats are written out to a file `.idlecoin` in the working directory of the server upon exit. On start, `idlecoin` will attempt to open `.idlecoin` and ingest the stats file to allow loading of previous stats. The stats file will currently autosave every 5 minutes.
"'m'<enter>\tPurchase 1 Miner License for {} idlecoin\n",
400
-
miner_cost
411
+
"{}m{}: Purchase 1 Miner License for {} idlecoin\n",
412
+
RED,RST,miner_cost
401
413
));
402
414
}
403
415
}
404
416
if g.chronocoin > commands::time_cost(){
405
-
c.purchases.push(format!("'c'<enter>\tPurchase 60m of time travel for this miner for {} chronocoins\n", commands::time_cost()));
417
+
c.purchases.push(format!("{}c{}: Purchase 1 hour of time travel for this miner for {} chronocoin / {}C{}: Purchase Max for {} chronocoin\n",RED,RST,commands::time_cost(),RED,RST,commands::time_max_cost(g.chronocoin)));
0 commit comments