Games/Productive: Difference between revisions
< Games
Jump to navigation
Jump to search
(→Game-play: A few minor tweaks) |
|||
Line 94: | Line 94: | ||
* UI |
* UI |
||
** Simple orthogonal grid playing field (easy to program quickly in PyGame) |
** Simple orthogonal grid playing field (easy to program quickly in PyGame) |
||
** Unit-type icons required |
|||
*** At least two icon types (military and productive) |
|||
⚫ | |||
⚫ | |||
** Single-unit-selection only |
** Single-unit-selection only |
||
*** Hover to see unit details (including timers) |
*** Hover to see unit details (including timers) |
||
Line 133: | Line 129: | ||
*** Cost per unit |
*** Cost per unit |
||
*** etc. |
*** etc. |
||
=== Art Required === |
|||
* Territory Icons |
|||
** Uncontrolled Territory |
|||
** Controlled Territory |
|||
** Territory Lost |
|||
** Territory Threatened (other player moves into your territory) |
|||
* Unit Icons |
|||
** Productive |
|||
** Military (multiple levels, likely composed from a base icon) |
|||
** "Moving" versions of each |
|||
** "Moving Blocked" versions of each |
|||
* Movement Icon |
|||
** Conflict Icon (Move Blocked) |
|||
* Resource Icon |
|||
* Allegiance Icon |
|||
* Unit-Allegiance |
|||
⚫ | |||
⚫ | |||
[[category:games]] |
[[category:games]] |
Revision as of 02:39, 28 October 2007
Productive
This is a straw-man proposal for a simplified real-time strategy game, tentatively named "Productive". We may attempt to implement the game during the upcoming OLPC Toronto Game Sprint (Nov 16-18, 2007).
Simplifications from "normal" real-time strategy games:
- Just two unit-types
- Single-tech tech-tree (military units of varying grades)
- Just two commands (territory-create-unit, unit-move)
- No battle system (no battles per-se, just shifts of allegiance to controlling powers)
- Single resource type
- Constrained map structures
Those changes put Productive somewhere between chess or checkers and traditional computerized RTS games. All of the complexity of game-play is emergent from the simple rules, but the style-of-play is real-time.
Game-play
- Grid playing "field" of a given size
- To start with, a simple grid
- Might allow for adding "dead areas" to the grid eventually
- To start with, regular territories within the grid
- Each player gets X starting units and places them on the board one after another until the units are all placed
- All players must join before start-of-play
- Loss of a player stops play (game can be stored and restored by any participant at any time, potentially with other users)
- Resource Production
- Resource production is proportional to the number of productive units with adjacent empty land (regardless of whether the land is within the territory the unit is in or how many units are "farming" it).
- Productive units begin producing when they are adjacent to empty land
- They retain their production counter internally until it is used
- Usage of resources is done evenly across all units in all controlled territories
- If a unit converts allegiance or moves to a new territory then they take their collected resources with them
- A player's current wealth is the sum of the wealth of their productive units in those territories that they control. They may dispense this wealth as they see fit (given constraints on unit maintenance)
- Unit Production/Maintenance
- Unit survival requires resources
- Each existing unit requires a certain amount of resources to survive
- this value is comparatively low for productive units (say 1/10 of a unit's production)
- this value is comparatively high for military units (say 2/10 of a productive unit's production)
- Each existing unit requires a certain amount of resources to survive
- All units must be fed (starvation)
- No unit production possible if starvation (insufficient food for all units) occurs
- In process unit production is canceled, 50% of resources are lost, 50% recovered to feed units, oldest production is stopped first, until all units are fed or all in-process production is canceled
- If no units in-production, non-productive units are lost
- Non-productive productive units (most dense area first)
- Military units (those without empty squares in their area first (random), then any (random))
- Maybe start off with simple random kill-off (easy to program)
- (Note: I'd rather have the units switch allegiance that are in the other-player-controlled territories, but that's probably too involved for now)
- Controlled territories can produce new units
- If there is no controlled territory, no new units are possible
- New unit production requires significant resources
- Setting for each unit-type, along with other requirements (e.g. city status, control of territory)
- Maybe 500% of unit's production for a productive unit
- Wealth remains with the productive unit until a controlled territory begins producing a unit
- if you do not create units your productive units become targets for takeover
- If a territory is taken over (control shifts to another player) while it is producing a unit, the unit becomes the unit of the controlling player (the unit is assigned to the controlling player at the moment the unit is created, but the cost is borne at the moment the unit is ordered)
- Cities
- Very dense population centres, (i.e. those which occupy every point in a territory), will produce more mobile units which do not produce resources when occupying, but which contribute to controlling/occupying territories (military versus productive units)
- Larger cities will produce ever more mobile units (i.e. two adjacent city territories)
- e.g. one-territory city, 2-unit military, two-territory city, 3-unit military
- Military units require exponentially more resources to produce for each level (e.g. a unit that can move 2 squares at once would cost 4 times as many resources as a farmer, those moving 3 squares, 9 times).
- Unit survival requires resources
- Territoriality
- Territories are controlled by having the largest population in a territory (equal population splits available resources) Military units have a multiple of the weight of productive units when determining control.
- Territories provide access to the controlling player to the resources of that player's units in the territory
- Players use resources of all of their controlled territories to start production of units
- Territories are YxY grid fragments, marked visually, so that users can see the territory "boundaries" (it would be nice to allow overlapping, shifting boundaries, but not likely to be feasible)
- Conversion
- Each territory has a balance of power represented by a simple count of the total number of units within it, with the maximum count being the power in control (equal counts == no controlling balance)
- Each unit retains an internal counter of "allegiances" (one for each player)
- Time within a territory controlled by another player increases the unit's allegiance to that power (without upper bounds, so a very old farmer is going to be far harder to sway than a young one)
- Military units are less affected, but still affected
- Units start with reasonably high allegiance to the player that created them, enough to withstand 2 minutes or so in a foreign-controlled territory (enough time to "mount a defense", but not enough time to build new units to mount it)
- Units belong to (respond to the commands of, provide resources for) the player to whom they have the greatest allegiance
- Unit conversions will be reported to the user, individual unit's allegiances can be viewed one-by-one by hovering over the unit
- Player with balance of power for a territory can use the resources of their units in that territory to produce new units in any of their controlled territories
- Each territory has a balance of power represented by a simple count of the total number of units within it, with the maximum count being the power in control (equal counts == no controlling balance)
- Motion
- Movement is instantaneous, that is, it occurs at a discrete time
- All units can move across un-occupied spaces in response to commands by user
- Productive units can only move slowly through un-occupied space (e.g. 1 square at a time, every 15 or 20 seconds)
- "Military" units can move farther/faster through un-occupied space (e.g. 2 squares at a time, on the same period)
- Controlled square motion
- Units can travel instantly through a chain of their own units
- Productive units cannot move through opposing units' occupied squares
- Military units can move across opposing unit's squares if there is an empty square within their movement range (i.e. a 3-square military unit can jump two opposing player's squares, but a 2-square unit can only jump one)
- Military units can combine a move through a chain of their own units and a jump over an adjacent opponent.
- Player can move as many units as they want as often as the units are allowed to move (real time operation)
- New units appear at the closest un-occupied square to the center of their creating territory
- Movement is instantaneous, that is, it occurs at a discrete time
- Goals
- Report "success" at any point in time along various measures:
- Territoriality (Conquest, number of territories occupied/controlled)
- Resource Base (Money, total income over time)
- Technology (Maximum "tech" level (military distance), number of cities)
- Population (Simple count)
- Loyalty (Average allegiance of population)
- Conversions (Ratio of conversions to/from player)
- Report "success" at any point in time along various measures:
Implementation Ideas
- UI
- Simple orthogonal grid playing field (easy to program quickly in PyGame)
- Single-unit-selection only
- Hover to see unit details (including timers)
- Click and click empty square to move, click on piece again, another piece, or territory to cancel
- Territory Icon
- Click to create new unit
- Hover to see territory details including unit production progress
- Heads-up-display
- Overall map, new unit notifications, statistics
- Current resource production (rate)
- Current maintenance resource usage (rate)
- Current unit-production resource usage (rate)
- Count of units in foreign-controlled territories (or maybe a cumulative allegiance change rate)
- Individual unit display (hover to see statistics)
- Potentially a "noisy" mode that tells you all changes that all players are making
- Store/restore UI
- History viewer?
- Observer view?
- Simulation code as a separate engine (i.e. not directly connected to the display code, so that we can replace the display should we need to)
- Speed control (new users wanting to play slow, to learn, experienced to play fast, very experience to play slowly and chess-like)
- Host will run the simulation (for now we won't worry about "cheats")
- Use whole-board-updates from the server to the clients (reduce synchronization problems)
- Allow anyone to save off the board at any time (and potentially resume it later with different players, share it with others, etceteras)
- Controls are just "move my unit there" or "produce new unit"
- State conflicts will be reported back as flashes or the like highlighting a blocked move
- Updates should be first-come-first served
- We may want to introduce an arbitrary delay into the host child's updates (to prevent them having an edge)
- Keep the various simulation parameters as controllable parameters so that we can tweak game-play through development, a few of these might be exposed to the player
- Board size (e.g. start with 30x30 for 2-player)
- Territory size (e.g. start with 3x3 for 2-player)
- All periods/rates
- Resource-collection rate per productive unit
- Production rate per unit/distance
- Period before auto-placement
- Cost per unit
- etc.
Art Required
- Territory Icons
- Uncontrolled Territory
- Controlled Territory
- Territory Lost
- Territory Threatened (other player moves into your territory)
- Unit Icons
- Productive
- Military (multiple levels, likely composed from a base icon)
- "Moving" versions of each
- "Moving Blocked" versions of each
- Movement Icon
- Conflict Icon (Move Blocked)
- Resource Icon
- Allegiance Icon
- Unit-Allegiance
- Each player gets their XO colours assigned to their icons
- Need to look into colour-reliance issues, may need to provide different icon sets so that black-and-white mode is playable, alternately, use player "badges" added to the base icon-set