Permalink
Switch branches/tags
Nothing to show
Commits on Oct 30, 2011
  1. Merge pull request #1 from GunioRobot/clean

    otfrom committed Oct 30, 2011
    Hi! I cleaned up your code for you!
  2. Remove whitespace [Gun.io WhitespaceBot]

    Gun.io Whitespace Robot
    Gun.io Whitespace Robot committed Oct 30, 2011
Commits on May 31, 2010
  1. Made drop-item and pick-up and helper functions more parallel to make

    Bruce Durling
    Bruce Durling committed May 31, 2010
    understanding them easier for my poor benighted mind.
  2. Drop item works now.

    Bruce Durling
    Bruce Durling committed May 31, 2010
  3. Starting on drop item. Adding and item to a room works.

    Bruce Durling
    Bruce Durling committed May 31, 2010
  4. Moved over to defrecord from defstruct and restored get-items as it is

    Bruce Durling
    Bruce Durling committed May 31, 2010
    used in the tests quite a bit. I'm a bit annoyed that Who
    Calls... didn't pick that up before. Need to figure out how that
    works.
  5. Simplified move-player. assoc rather than merge is fine.

    Bruce Durling
    Bruce Durling committed May 31, 2010
  6. Removed some more extraneous comments.

    Bruce Durling
    Bruce Durling committed May 31, 2010
  7. Cleaned up look.

    Bruce Durling
    Bruce Durling committed May 31, 2010
  8. Removed some comments that were no longer needed.

    Bruce Durling
    Bruce Durling committed May 31, 2010
  9. Cleaned up move-player.

    Bruce Durling
    Bruce Durling committed May 31, 2010
  10. Clarified name for has-item?

    Bruce Durling
    Bruce Durling committed May 31, 2010
  11. Clarified names for add-to-items.

    Bruce Durling
    Bruce Durling committed May 31, 2010
  12. Clarified names for current-room.

    Bruce Durling
    Bruce Durling committed May 31, 2010
  13. Clarified names for remove-from-room.

    Bruce Durling
    Bruce Durling committed May 31, 2010
  14. pick-up now works. I need to refactor some names though as even I get

    Bruce Durling
    Bruce Durling committed May 31, 2010
    confused if I mean a structure or the keyword name for the structure.
  15. Added remove-from-room in preparation for pick-up.

    Bruce Durling
    Bruce Durling committed May 31, 2010
  16. Added some more tests to has-item? now that I realise it is a bit more

    Bruce Durling
    Bruce Durling committed May 31, 2010
    generic. /facepalm
  17. Getting the right value helps with tests. Made has-item? more generic

    Bruce Durling
    Bruce Durling committed May 31, 2010
    as part of fix.
  18. has-item? now works.

    Bruce Durling
    Bruce Durling committed May 31, 2010
  19. Moved tests from vectors to sets to match new structures.

    Bruce Durling
    Bruce Durling committed May 31, 2010
  20. Refactored look to use current-room helper.

    Bruce Durling
    Bruce Durling committed May 31, 2010
  21. Sort the described items so they come out in the same order (this is

    Bruce Durling
    Bruce Durling committed May 31, 2010
    really for the testing).
  22. Moved from structs to records. Migrated item collections from vectors

    Bruce Durling
    Bruce Durling committed May 31, 2010
    to sets. A couple tweaks to some functions and the feeling that I
    should commit smaller changes so that I don't have to write war and
    peace as a comment and find myself unable to pull things apart if I
    need to.
Commits on May 17, 2010
  1. Adding to the player's inventory works, next is to remove from the

    Bruce Durling
    Bruce Durling committed May 17, 2010
    room.
  2. add-to-items works now to get part of pick-up to work.

    Bruce Durling
    Bruce Durling committed May 17, 2010
  3. No more inventory. Now all are items.

    Bruce Durling
    Bruce Durling committed May 17, 2010
  4. Current room now returns the current room rather than just the room

    Bruce Durling
    Bruce Durling committed May 17, 2010
    name.
  5. Getting closer to picking up objects and doing inventory

    Bruce Durling
    Bruce Durling committed May 17, 2010
    management. Not happy with the way rooms work so doing a checkpoint
    before refactoring lots of things.
  6. Moved structs to world.clj and moved player struct to Player record to

    Bruce Durling
    Bruce Durling committed May 17, 2010
    start playing with defrecord. Probably should have been two commits.
Commits on May 16, 2010
  1. Created a better world.

    Bruce Durling
    Bruce Durling committed May 16, 2010
  2. Force reload clork as a part of the testing.

    Bruce Durling
    Bruce Durling committed May 16, 2010
  3. Removed redundant seq-utils.

    Bruce Durling
    Bruce Durling committed May 16, 2010