1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-26 12:43:33 +00:00

Hypersian Rug for the torus

This commit is contained in:
Zeno Rogue
2017-11-06 19:24:02 +01:00
parent bcd8e8bc56
commit a14cced41d
4 changed files with 214 additions and 31 deletions

View File

@@ -214,8 +214,13 @@ namespace torusconfig {
// the configuration of the torus topology.
// torus cells are indexed [0..qty),
// where the cell to the right from i is indexed i+dx,
// and the cell to the down-rightis numbered i+dy
// changed with command line option: -tpar <qty>,<dx>,<dy>
// and the cell to the down-right is numbered i+dy
// Changed with command line option: -tpar <qty>,<dx>,<dy>
// Ideally, qty, dx, and dy should have the same "modulo 3"
// values as the default -- otherwise the three-color
// pattern breaks. Also, they should have no common
// prime divisor.
int qty = 127*3, dx = -1, dy = 11*2;
}