User:4st/Graphomic

From Infinite Nomic Wiki
Revision as of 02:09, 25 November 2022 by RandomNetCat (talk | contribs) (7 revisions imported: Import Miraheze archive 2022-10-29)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Initial Ruleset[edit | edit source]

Definitions[edit | edit source]

The Graph[edit | edit source]

The game is played on a matrix of discrete size. Each entity has a row and a column. The values in the graph can be integers from -10 to 10 inclusive, rules to the contrary notwithstanding.

Each player has an entity.

Edges[edit | edit source]

Each row represents the starting vertex, and each column represents the destination vertex for a directed edge. The value at this matrix element is the weight of that edge. A value of 0 represents no edge.

(This makes the matrix representative of a weighted, directed graph: See these links for more details:

https://en.wikipedia.org/wiki/Adjacency_matrix

https://en.wikipedia.org/wiki/Directed_graph)

Paths[edit | edit source]

A path from entity A to entity B is a list of edges where the first edge in the list has starting entity A, and the last edge in the list has destination entity B, and each edge in-between has a starting entity of the destination entity of the previous edge in the list.

Turns[edit | edit source]

Each phase, a player can make one move.

Moves[edit | edit source]

A move is one of the following actions:

Graph Adaptation[edit | edit source]

A graph adaptation consists of a player can modifying a value in the matrix (optional rule?: a value that is neither in their row or column) by adding or subtracting 1 to that value, and they can do such a move so by announcement in #game-actions. (And then, preferably, updating the cycle's gamestate page.)

Winning[edit | edit source]

A player wins if there is a path, whose edge weights sum to a positive value, from themself to each other player's entity. Multiple players can win at the same time, but once a win exists, no more graph adaptations can occur.

bad? ideas (not part of initial rules, but serve to promote this initial ruleset)[edit | edit source]

Bonus entities[edit | edit source]

There exists an entity called 'Bonus'. As long as a path with total positive value exists from a player's entity to that bonus entity, that player can make an additional move each phase.

Power Bonus[edit | edit source]

If a path from a player's entity exists with infinite value (ie a cycle), that player can make an additional move each phase.

Sad Bonus[edit | edit source]

If a path from a player's entity exists with negative infinite value (ie a cycle), that player can make an additional move each phase.

Points revamp[edit | edit source]

Turns are now either one move or one firing. Winning is now the first player to 100 points.

Score[edit | edit source]

Each player has an integer called points.

Firing[edit | edit source]

A firing consists of a player traversing the directed graph, starting from their vertex, and adding up each traversal. A player adds up the points when the traversal finishes, or, if a traversal would never finish due to a cycle, then -10. This value is added to their score.

Alternatively, if a traversal would go to an entity that has been visited, it instead doesn't, and no value is counted for that edge. If there are multiple valid traversals, the player who fires should specify the particular desired traversal, otherwise it fails.

Shop[edit | edit source]

The shop is an entity. A player can buy items if the shop is connected to them. A player can sell items if they are connected to the shop.

Anti-cycle laws[edit | edit source]

Version 1[edit | edit source]

If, after a move, a cycle exists, all positive edges in those cycles have their value decreased by 1, and all negative edges in those cycles have their value increased by 1.

Version 2[edit | edit source]

If, after a move, a cycle with total a total positive edge weight exists, all edges in that cycle have their value decreased by 1.

Items[edit | edit source]

An item is stored on an entity. That entity may choose to give that item to any entity it is connected to by a path with a total positive value.

Adventurer[edit | edit source]

Each player has an adventurer which starts at their entity. At the beginning of each phase, they may have their adventurer move across the edge with the highest weight.

An adventurer starts with 0 gold. When an adventurer moves, they gain an amount of gold equal to the edge they moved across. When an adventurer is back at their player's entity, it deposits the gold as points.

Power debuff[edit | edit source]

An player is powerful if they have 5 or more outbound edges from their entity with positive weight. That player must choose one of those edges and reduce its weight by 1.

Multigraph Madness[edit | edit source]

There exists a second matrix to represent a separate, second graph, and moves can be made onto either matrix.