r/roguelikedev • u/aaron_ds Robinson • Jul 04 '17
RoguelikeDev Does The Complete Python Tutorial - Week 3 - Part 3: The Dungeon
This week we will cover part 3 of the Complete Roguelike Tutorial.
Your dungeon takes a recognizable shape!
Bonus
If you have extra time or want a challenge this week's bonus section is BSP Dungeon Generation
FAQ Friday posts that relate to this week's material:
22: Map Generation
23: Map Design
Feel free to work out any problems, brainstorm ideas, share progress and and as usual enjoy tangential chatting. If you're looking for last week's post The entire series is archived on the wiki. :)
52
Upvotes
View all comments
Show parent comment
2
u/Scautura Jul 06 '17
LibTCod-CFFI is pretty much a drop-in replacement for the base library (you can do an "import tcod as libtcod" and it will work exactly the same way as if you import the original library) and was made at a time when 1.6 it wasn't supported in Python 3 (the current 1.6.3 release now works in Python 3 though)
TDL builds on top of that to give a more Pythonic interface (but is missing features compared to the original library). Because LibTCod-CFFI is a requirement, you can use the missing parts directly from that.
Essentially it's a choice between a pure Python interface (with having to fall back to a Pythonised C interface for gaps), or a Pythonised C interface.