ASCII Simulation Game .cursorrules prompt file
Author: haldave159
What you can build
Resource Expansion Simulator: Create a web-based game where users can observe and analyze how nations expand based on resource availability. This app would allow users to set parameters for the random map generation and then watch as the nations compete to control resources and territory.Historical Strategy Observer: Develop an interactive application that simulates ancient civilizations' expansion, trading, and warfare. Users can zoom in on specific areas of the grid to observe resource management, battles, and nation interactions in detail.ASCII Map Visualizer: Build a tool that visualizes the colored ASCII-based graphics of the game's map, allowing users to see the current owner and resources of each square, thus aiding in teaching game development concepts using ASCII art.Conway-Style AI Nation Simulator: Create a simulation that uses AI to mimic ancient civilizations' decision-making processes, inspired by Conway's Game of Life. Users observe nations creating armies, trading resources, and expanding territories.Nation Battle Analyzer: Design a platform that collects and displays the battle history from the game, helping users study the effects of army level, resource allocation, and dice roll mechanics on battles through detailed logs.Supply Chain Dynamics Game: Implement a game focusing on the transportation of gold and resources through roads, helping users understand logistics and supply chain management in an ancient context.Economic Balance Evaluator: Develop a tool that simulates resource valuation and trade dynamics in ancient civilizations, providing insights into how balanced resource distribution impacts nation growth.Strategic Map Explorer: Create an app that offers detailed insights into how neutral lands can be claimed, focusing on the strategic importance of various terrains (rivers, mountains) in expansion strategies.Historical Growth Charts: Produce comprehensive charts and graphs that track every aspect of nation development throughout the game, offering a detailed historical overview for educational purposes.ASCII Strategy Game Framework: Offer a framework for developers to create similar ASCII-based strategy games, providing code examples and guidance on best practices for creating complex grid-based simulations.
Benefits
Synopsis
This prompt would benefit simulation game developers, allowing them to create a procedurally generated, observer-based strategy game with ASCII graphics and detailed logging of nation interactions.
Overview of .cursorrules prompt
The .cursorrules file describes a complex simulation game set in ancient times where the player is an observer rather than an active participant. This simulation is rendered in ASCII graphics on a 10x10 grid with sub-grids and features random map generation with balanced capabilities for nations. Nations can trade, go to war, and make peace while expanding their territories through strategic resource management and army deployment. Key mechanics include resource rarity, turn-based decisions, and a CRT monitor-like display style. The game mirrors concepts from Conway's Game of Life, emphasizing autonomous interactions between nations and resources. Detailed logging and a trackable history of gameplay are emphasized for comprehensive insight into game dynamics.
.cursorrules Content
you are an expert game designer and game programmer, you will choose the best game design and coding practices for all decisions in this project. 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 eachotherthe entire game should be colored ASCII based in terms of graphicsThere 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 treepopulation should collect in towns and citiesroads should connect towns and citiesresources are spread throughout nations through roadsnations attempt to spread their resources evenly over their territorygold is not omni present and must be transported using roadsto the location where it is spent to build armies or develop landoceans should be randomly generated to separate continentsrivers should be randomly generated to connect oceans and flow across the map vertically or horizontallyrivers are a food source for the land and farms can be built on themmountains should be randomly generated throughout the mapmountains should be impassable by armiesmines in mountains provide metal at 20% efficiencyNations should expand towards resources that they have a low amount of of and away from resources that they have a high amount ofarmies should spawn at the town or city that issued the ordertowns can only spawn a max level 3 armytowns have a 3 square radius for gathering resourcesas towns grow their radius grows, there are 3 levels of towns and citiesa Nation's largest city is its capitalpopulation can only live in towns and citiesresources should be spread throughout the map in a way that encourages nations to expand into new squaresarmies can travel across oceans at .25x speedarmies can travel on rivers to move across the map at 3x speedthere is a "battle list" that shows all the battles that have happened and stats about themarmies go from level 1 to level 10 based on their fundinginner squares can be developed into farms, forests, minesarmies require wood, food, and metal to be created.nations must pay upkeep depending on the amount of armies and developed land they havebattles are resolved by the difference in army level and a RISK esque dice roll mechanic that is effected by army levelarmies can build castles that are good defensively and allow for funding of armiesarmies can be used to conquer squares from other nationsarmies can be used to defend squares from other nationsarmies can be used to attack other nationsarmies can be used to attack neutral squaresarmies can be used to attack other nations squaresarmies can be used to attack neutral squaresarmies can be used to attack other nations squaresarmies can be used to attack neutral squaresnations should start with the same amount of gold and landthe map should be color coded to show the owner of the squarethere should be effects over the screen that mimic a CRT monitorthe game should aim to be similar to Conway's Game of Life where the nations are the living organisms.like conway's game of life, nations should be able to "see" eachother and react to eachotherlike conway's game of life, the nations should be able to "see" the resources and react to themthere should be a chart page that tracks just about everything that can be tracked in the game