Commit graph

13 commits

Author SHA1 Message Date
d99c97408c Generate orcs and trolls randomly throughout the dungeon 2022-05-06 21:16:39 -07:00
00462f6005 Change Engine.Configuration to a clas and convert moved_entities to a set 2022-05-06 14:34:26 -07:00
1d4882a8ac Do not allow entities to move into squares previously moved entities have moved to 2022-05-05 08:45:30 -07:00
a43e403e9c Let NPCs randomly walk 2022-05-05 08:38:06 -07:00
084385f8f2 Add a map shroud over tiles and compute field of view based on player position!!! 2022-05-04 09:22:40 -07:00
09bdf8a7a6 Place NPCs randomly in a generated room 2022-05-03 19:00:45 -07:00
a072ad507e Move map generation into a new MapGenerator subclass; add RoomsAndCorridorsGenerator to uses BSP 2022-05-01 10:46:30 -07:00
a54828c7fb Fix up all the runtime errors caused by the previous refactoring 2022-05-01 09:51:22 -07:00
f1b95a697e Remove the commented out RegenerateRoomsAction handling
It still is not implemented but RegenerateRoomsAction will handle it when I
bring it back.
2022-05-01 09:29:58 -07:00
5ce26e310b Move the action perform logic to Action.perform() on each Action subclass
Rename Object to Entity to avoid name clashes with Python.object
2022-05-01 09:29:30 -07:00
7f225e9e01 Start the player in the middle of the first room 2022-05-01 00:09:45 -07:00
5302b5cf5e Redo tiles to use numpy datatypes
This gives us some nice optimizations when splatting the map to the console.
2022-05-01 00:09:12 -07:00
d56bcc7b4a Add an Engine class and move all the engine-y bits over there from main 2022-04-30 23:30:23 -07:00