mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-24 15:00:14 +00:00
CLI option -carun
This commit is contained in:
parent
4cbffbd8df
commit
43e1204e18
@ -3372,6 +3372,12 @@ EX namespace ca {
|
||||
shift(); wlive = eWall(argi());
|
||||
return 0;
|
||||
}
|
||||
if(argis("-carun")) {
|
||||
shift(); int iter = argi();
|
||||
start_game();
|
||||
for(int i=0; i<iter; i++) simulate();
|
||||
return 0;
|
||||
}
|
||||
if(args()[0] != '-') return 1;
|
||||
if(args()[1] != 'c') return 1;
|
||||
int livedead = args()[2] - '0';
|
||||
|
Loading…
x
Reference in New Issue
Block a user