Commit Graph

  • 5b5180d44a Merge branch 'fix-tty-colors' into 'master' ynerant 2021-01-09 21:52:03 +0100
  • 1e5a268586 Merge branch 'remove-debug-code' into 'master' nicomarg 2021-01-09 18:49:20 +0100
  • 7bf1789239 Removed debug code Nicolas Margulies 2021-01-09 18:45:55 +0100
  • 8cb2b2388f
    Don't use custom colors on unsupported screens, fixes #67 Yohann D'ANELLO 2021-01-09 18:42:11 +0100
  • 93a9e5e4c4 Merge branch 'moreitems' into 'master' eichhornchen 2021-01-09 00:05:14 +0100
  • ac4a73b2cb Final linting eichhornchen 2021-01-09 00:01:02 +0100
  • cbe3e226b4 Repaired a merge error, tests now work. eichhornchen 2021-01-08 23:51:47 +0100
  • eac9057f31 Merge branch 'master' into 'moreitems' eichhornchen 2021-01-08 23:41:21 +0100
  • 2eb42668c8 Linting and tests for chests eichhornchen 2021-01-08 23:32:47 +0100
  • bdbf214d8d Added chests, they are immortal and contain objects the player can take for free. eichhornchen 2021-01-08 23:15:48 +0100
  • 175706b1e4 Merchants had default maxhealth. eichhornchen 2021-01-08 22:30:30 +0100
  • 9ff615a6b0 Linting and tests... eichhornchen 2021-01-08 22:25:00 +0100
  • ad3cce116e
    Load map floor index when loading a new game Yohann D'ANELLO 2021-01-08 21:23:12 +0100
  • 949555ffff
    Map at floor -1 is now not deterministic Yohann D'ANELLO 2021-01-08 20:06:32 +0100
  • 571857b063
    Generate a random map when changing floor Yohann D'ANELLO 2021-01-08 20:00:42 +0100
  • d8d0bc6190
    Fix the end ladder Yohann D'ANELLO 2021-01-08 19:20:56 +0100
  • 9e099d0715 Ladders should spawn with no wall nearby Charles Peyrat 2021-01-08 19:50:27 +0100
  • 746379bad6 Now with EXPLOSIONS! eichhornchen 2021-01-08 19:18:29 +0100
  • 591630b8a7 Added a fire ball staff, closes #64 eichhornchen 2021-01-08 19:05:02 +0100
  • 903a06c36c Subclassed and removed some debugging code eichhornchen 2021-01-08 18:38:54 +0100
  • f6210a6356 Added a Bow, related to #64 eichhornchen 2021-01-08 18:06:26 +0100
  • da8cf238ee Merge branch 'mobs-seeing-through-walls' into 'master' nicomarg 2021-01-08 17:34:27 +0100
  • 46a5dc6931 Made mobs check if they can see the player Nicolas Margulies 2021-01-08 17:26:56 +0100
  • 7e14122b8c Randomly place exit ladder Charles Peyrat 2021-01-08 17:25:52 +0100
  • df2c1a4b55
    Add ladder on the start position Yohann D'ANELLO 2021-01-08 17:10:42 +0100
  • 8e7029e34d
    Fix walls Yohann D'ANELLO 2021-01-08 17:10:30 +0100
  • 1ab63434f6
    Merge branch 'master' into map_generation Yohann D'ANELLO 2021-01-08 17:02:10 +0100
  • afaa9d17cd
    Linting Yohann D'ANELLO 2021-01-08 16:55:02 +0100
  • 9b853324ad
    Drop first version of random walk Yohann D'ANELLO 2021-01-08 16:16:42 +0100
  • c216a6089e Add a break so that generated rooms arre only placed once Charles Peyrat 2021-01-08 16:51:04 +0100
  • a390f4f5e9 Fix is_connex tests Charles Peyrat 2021-01-08 16:21:16 +0100
  • bde33e9232 Added a second scroll object closes #60 eichhornchen 2021-01-08 16:14:40 +0100
  • 0aa4eb9c0b Refactoring in tests to allow for easy connexity verification Charles Peyrat 2021-01-08 16:11:17 +0100
  • 4a80dc36ad Merge branch 'save_floors' into 'master' ynerant 2021-01-08 16:05:10 +0100
  • 7a4936e6a5
    Test monocles Yohann D'ANELLO 2021-01-08 15:58:54 +0100
  • 785ac403e3 Forbid walker from ever reaching the outer most edge of the map Charles Peyrat 2021-01-08 15:56:30 +0100
  • f240cafa83 Fixing syntax in tests Charles Peyrat 2021-01-08 15:55:26 +0100
  • a497d08f31
    Implement the monocle of truth, closes #62 Yohann D'ANELLO 2021-01-08 15:48:12 +0100
  • 5424c7cd98 Nicer default parameters Charles Peyrat 2021-01-08 15:20:32 +0100
  • dab84738d9 Remove the starting room door only if it really shouldn't be here; also account for the new randomized placement in removing lone door tile Charles Peyrat 2021-01-08 15:18:13 +0100
  • 1270640619
    Change hint whenever the T key is pressed or not Yohann D'ANELLO 2021-01-08 15:07:35 +0100
  • 8d7e264381 Fix a bug where the generator could crash by trying to place the starting room out of bounds; starting room position is now random Charles Peyrat 2021-01-08 15:06:38 +0100
  • 28a6532a21
    Add a hint to tell the user how to talk to friendly entities Yohann D'ANELLO 2021-01-08 14:59:44 +0100
  • fab1bee8d8 Force loop entrance to get coverage Charles Peyrat 2021-01-08 14:52:59 +0100
  • 156e4a7e3a
    Add a hint to tell the user how to use ladders Yohann D'ANELLO 2021-01-08 14:51:56 +0100
  • f48377e055
    Save floors and visibility, fixes #61 Yohann D'ANELLO 2021-01-08 14:23:57 +0100
  • 073e3d3740 Merge branch 'description' into 'master' ynerant 2021-01-08 12:10:29 +0100
  • 120ec82d09
    Helmet needs only one character in squirrel mode, add a trailing space Yohann D'ANELLO 2021-01-08 12:07:13 +0100
  • 571e9db3e8
    Fix french translations Yohann D'ANELLO 2021-01-08 12:06:28 +0100
  • e56bdc16c2
    Add item description, closes #59 Yohann D'ANELLO 2021-01-08 11:55:25 +0100
  • 5736c2300b Added a scroll object that deals damage based on the player intelligence. Related to #60 eichhornchen 2021-01-08 11:54:39 +0100
  • 2b3a8279b8 Merge branch 'fix-settings' into 'master' ynerant 2021-01-08 11:30:02 +0100
  • 75e93611c3
    Capture all mouse events and take into account mouse attributes, fixes #58 Yohann D'ANELLO 2021-01-08 11:21:40 +0100
  • ea58d5b426 Merge branch 'doc' into 'master' eichhornchen 2021-01-08 11:15:42 +0100
  • b42f1277b1
    Exit the game on KeyboardInterrupt (don't log this error) Yohann D'ANELLO 2021-01-08 11:10:10 +0100
  • 196e3708d2 Merge branch 'master' into 'doc' eichhornchen 2021-01-08 11:10:09 +0100
  • ac8c7a0a4c
    Only read required keys in settings file Yohann D'ANELLO 2021-01-08 11:07:38 +0100
  • 6673b67ffe Repaired spawn of trumpets. eichhornchen 2021-01-08 10:58:40 +0100
  • c06f903a16 Fix a typo that made corridors unable to be built Charles Peyrat 2021-01-08 07:41:00 +0100
  • c6947fab44 Integrate the new map generation into the game ! Closes #5 Charles Peyrat 2021-01-08 07:39:52 +0100
  • 641f5c7872 Make generation more sparse by asking for extra space around rooms; also add out of bounds option to Map.neighbourhood Charles Peyrat 2021-01-08 07:38:47 +0100
  • 605696dddd Revamp door placing algorithm so that it generates cleaner doors; also remove lone starting room door from level Charles Peyrat 2021-01-08 07:36:31 +0100
  • 5ba07afc9f Fix typo in parameter names Charles Peyrat 2021-01-08 07:05:02 +0100
  • e21d4d230c Add missing termination condition Charles Peyrat 2021-01-08 07:04:24 +0100
  • b0ac580677 Fix place_walls, that placed floors instead ... Charles Peyrat 2021-01-08 07:03:49 +0100
  • d362bdc949 Fix place_room and add missing argument Charles Peyrat 2021-01-08 06:58:02 +0100
  • 9c252a2bbc Correct out of bounds errors and add missing arguments to range call Charles Peyrat 2021-01-08 06:54:01 +0100
  • c959a9d865 Update tests because Map.neighbourhood became a static method Charles Peyrat 2021-01-08 05:42:12 +0100
  • 8475e5228e Large neighbourhood shouldn't return the central cell Charles Peyrat 2021-01-08 05:41:16 +0100
  • 20cbf546f9 Correct formulas for random enumeration of a grid Charles Peyrat 2021-01-08 05:21:31 +0100
  • 49e261557c Fix typos Charles Peyrat 2021-01-08 05:14:46 +0100
  • abbad0f352 Fix formulas in place_room and room_fits Charles Peyrat 2021-01-08 05:14:32 +0100
  • 05ccd0e339 Circular rooms should not try to generate any holes if their radius isn't large enough Charles Peyrat 2021-01-08 04:51:20 +0100
  • c6f66d95f2 Fix typos Charles Peyrat 2021-01-08 04:48:32 +0100
  • 6fbc757f1e Implement method place_walls Charles Peyrat 2021-01-08 04:43:10 +0100
  • ffa7641b21 Made Map.neighbourhood a static method Charles Peyrat 2021-01-08 04:36:57 +0100
  • 3229eb8ea7 Implement place_room method Charles Peyrat 2021-01-08 03:45:26 +0100
  • 42f0c195aa Add prototype for create_random_room; change return value of attach_doors and create_circular_room so we have info on door direction; minor syntax change Charles Peyrat 2021-01-08 03:43:20 +0100
  • ddbd0299a0 Implement method room_fits Charles Peyrat 2021-01-08 03:38:37 +0100
  • 5cbf15bef5 Return value of Generator.run should be a Map Charles Peyrat 2021-01-08 03:37:10 +0100
  • bb3422f7d8 Add main generation loop Charles Peyrat 2021-01-08 03:19:59 +0100
  • fb47c15d6b Merge branch 'equipment' into 'master' ynerant 2021-01-08 02:19:29 +0100
  • affc1bae59
    Fix merge Yohann D'ANELLO 2021-01-08 02:15:13 +0100
  • 451dd9cba7 Merge branch 'master' into 'equipment' ynerant 2021-01-08 02:11:40 +0100
  • da47731faf Merge branch 'lighting' into 'master' ynerant 2021-01-08 02:01:13 +0100
  • 7aeb659cf5
    Fix french translation Yohann D'ANELLO 2021-01-08 02:00:22 +0100
  • 6c6a44fb18
    More tests Yohann D'ANELLO 2021-01-08 01:56:54 +0100
  • 478a655751
    Fix fg/bg custom colors Yohann D'ANELLO 2021-01-07 16:49:40 +0100
  • 4acf6804d4 Merge branch 'master' into 'lighting' ynerant 2021-01-07 16:36:54 +0100
  • c36e68d6e4
    Reduce player vision Yohann D'ANELLO 2021-01-07 16:34:12 +0100
  • e9c8f43e7e
    Use ternary conditions to add coverage Yohann D'ANELLO 2021-01-07 16:31:39 +0100
  • 5579f5d791 Room now can now generate with a corridor; implemenent door placement finding Charles Peyrat 2021-01-07 07:06:08 +0100
  • 9fb366aaab Make name follow style convention Charles Peyrat 2021-01-07 05:02:49 +0100
  • 1a78ad584c
    Move equip functions for items Yohann D'ANELLO 2021-01-06 18:31:28 +0100
  • a8c0c197ed
    Linting Yohann D'ANELLO 2021-01-06 18:02:58 +0100
  • 00a4dec6a4 Merge branch 'ladders' into 'master' ynerant 2021-01-06 18:01:36 +0100
  • 5ef12bef3d Changed the prices of armor Eichhornchen 2021-01-06 17:57:23 +0100
  • 093c105120
    The broken test is mysteriously working now Yohann D'ANELLO 2021-01-06 17:54:43 +0100
  • b403bc4784 documentation Eichhornchen 2021-01-06 17:48:03 +0100
  • ae505166b7
    Disable critical hits during tests Yohann D'ANELLO 2021-01-06 17:39:13 +0100