core-game-mechanics-rule

core-game-mechanics-rule is a cursor rule for Cursor from toptalentcoder/Cursor-AwesomeRules. It costs 0 tokens per session (692 once invoked), scanned A, a copy of ascii-simulation-game-cursorrules-prompt-file, CC0-1.0.

A game rule defining a turn-based ancient-world simulation on nested grids, where nations manage resources, trade, fight, make peace, and claim land. The player observes the world through an ASCII map and detailed logs rather than directly controlling nations.

In plain words
What is it for?
Use it to guide map generation, resource placement, nation spawning and balance, diplomacy, warfare, trading, land claims, zooming, and history logs.
Why use it?
It provides the main rules for how the game world is generated, how nations interact, and what the player can see.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it to guide map generation, resource placement, nation spawning and balance, diplomacy, warfare, trading, land claims, zooming, and history logs.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/toptalentcoder/cursor-awesomerules/core-game-mechanics-rule
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/toptalentcoder/Cursor-AwesomeRules

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for core-game-mechanics-rule

README.md
[![agentmods](https://agentmods.dev/badge/rules/toptalentcoder/cursor-awesomerules/core-game-mechanics-rule.svg)](https://agentmods.dev/rules/toptalentcoder/cursor-awesomerules/core-game-mechanics-rule)
Your own site
<a href="https://agentmods.dev/rules/toptalentcoder/cursor-awesomerules/core-game-mechanics-rule"><img src="https://agentmods.dev/badge/rules/toptalentcoder/cursor-awesomerules/core-game-mechanics-rule.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 692 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00692
Opus 5 $0.00000 $0.00346
Sonnet 5 $0.00000 $0.00138
Haiku 4.5 $0.00000 $0.00069

Measured 8d ago against content hash b090df129397, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

core-game-mechanics-rule scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to ascii-simulation-game-cursorrules-prompt-file — 150 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

rules/ascii-simulation-game-cursorrules-prompt-file/core-game-mechanics-rule.mdc · 37 lines

What it actually says

  • The game is based on a 10x10 grid, each square has a 10x10 grid inside of it. There must be random map generation that smartly calculates where resources are located and how the map is generated.
  • The player does not control anything in the game; the player is simply an observer. Therefore, there should be logs for almost everything in the game, and it should be turn-based.
  • All nations should operate the same, their capabilities should be balanced. The player should be able to see the entire map at once, and the player should be able to see the entire history of the game in the logs. There should be a way to zoom in on a specific square to see more detail.
  • Nations should be able to trade resources with each other. Nations should be able to go to war with each other. Nations should be able to make peace with each other.
  • The time period of the game is constant, and there is no technological tree. It takes place in ancient times.
  • Nations should spawn a minimum distance away from each other.
  • The entire game should be colored ASCII-based in terms of graphics.
  • There should be neutral land that can be claimed by any nation. Neutral land should be randomly generated each game.
  • There should be a way to view the current owner of a square. There should be a way to view the current resources of a square.
  • Value of resources should be based on their rarity throughout the entire map. Nations can use gold to either buy resources or armies.
  • Armies are the primary way that nations can expand their territory.
  • There should be no talent tree or technology tree; nations should be balanced without the need for such a tree.
  • Population should collect in towns and cities.
  • Roads should connect towns and cities.
  • Resources are spread throughout nations through roads.
  • Nations attempt to spread their resources evenly over their territory.
  • Gold is not omnipresent and must be transported using roads to the location where it is spent to build armies or develop land.
  • Oceans should be randomly generated to separate continents.
  • Rivers should be randomly generated to connect oceans and flow across the map vertically or horizontally.
  • Rivers are a food source for the land, and farms can be built on them.
  • Mountains should be randomly generated throughout the map.
  • Mountains should be impassable by armies.
  • Mines in mountains provide metal at 20% efficiency.
  • Nations should expand towards resources that they have a low amount of and away from resources that they have a high amount of.
  • Armies should spawn at the town or city that issued the order.
  • Towns can only spawn a max level 3 army.
  • Towns have a 3-square radius for gathering resources.
  • As towns grow, their radius grows; there are 3 levels of towns and cities.
  • A Nation's largest city is its capital.
  • Population can only live in towns and cities.
  • Resources should be spread throughout the map in a way that encourages nations to expand into new squares.
  • Armies can travel across oceans at .25x speed.
  • Armies can travel on rivers to move across the map at 3x speed.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 37 lines · 0 tokens per session scan A b090df129397

Subscribe to this mod's changes

core-game-mechanics-rule is a cursor rule published in the GitHub repository toptalentcoder/Cursor-AwesomeRules (6 stars, last pushed 1y ago), licensed CC0-1.0. It costs nothing until one of its globs matches a file; then it loads 692 tokens. A static security scan graded it A with 0 findings. It is 86% identical to ascii-simulation-game-cursorrules-prompt-file, differing in 150 lines, and is treated as a copy.