Skip to content

Instantly share code, notes, and snippets.

@coopermayne
Created July 21, 2015 16:38
Show Gist options
  • Save coopermayne/49b4abf94c2ce4538242 to your computer and use it in GitHub Desktop.
Save coopermayne/49b4abf94c2ce4538242 to your computer and use it in GitHub Desktop.
GTA Game Plan
# GTA Gameplan
## Version 1
- **map:** one dimensional, strings
- **items:** strings
- **user:** the user has an inventory and a current location. the inventory is an array of items. the location is a simple string.
- **actions:** the user has some basic actions... for instance:
- **take:** take an item from the world and move it to user's inventory
- **move:** move to a different location on the map
- **status:** prints out users inventory and current location
- **look:** prints out all the items and places
- **quit:** leave the game
## Version 2
- **map:** one dimensional, places are objects which can contain people, items, a description of the scene, etc
- **items:** objects which have properties like ammo, weight, damage
- **user:** we make a user object which has an inventory, a health bar, a location, actions (like moving, taking, shooting, etc)
- **functions:** introduce functions to help organize or growing codebase.
## Version 3
- **NPCs:** we introduce computer players. the user can talk to them or fight them.
- **map:** we make the map 2 dimensional. and the user has to move one space at a time to get somewhere.
- **content: ** we add tons of content... we want the map to be fun to explore. that means making descriptions of the scene... putting cool weapons around at different locations... programming in all kinds of NPCs for the user to interact with... etc etc etc.
- **save/load:** we allow the user to save and load his progress through the game
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment