mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 13:07:16 +00:00
optimized the honeycomb rules by using the 'quotient' fieldpatterns
This commit is contained in:
parent
5a83434e7a
commit
bb016585ab
@ -272,6 +272,8 @@ void add_candidate(cell *c) {
|
||||
void test_canonical(string fname) {
|
||||
stop_game();
|
||||
reg3::reg3_rule_available = false;
|
||||
fieldpattern::use_rule_fp = true;
|
||||
fieldpattern::use_quotient_fp = true;
|
||||
start_game();
|
||||
|
||||
int qc = reg3::quotient_count();
|
||||
@ -531,6 +533,12 @@ auto fqhook =
|
||||
else if(argis("-no-rule")) {
|
||||
reg3::reg3_rule_available = false;
|
||||
}
|
||||
else if(argis("-urf")) {
|
||||
cheat(); fieldpattern::use_rule_fp = true;
|
||||
}
|
||||
else if(argis("-uqf")) {
|
||||
cheat(); fieldpattern::use_quotient_fp = true;
|
||||
}
|
||||
else if(argis("-gen-rule")) {
|
||||
shift(); test_canonical(args());
|
||||
}
|
||||
|
BIN
honeycomb-rules-353.dat
Normal file
BIN
honeycomb-rules-353.dat
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user