Talk:Complete Roguelike Tutorial, using python+libtcod
Jump to navigation
Jump to search
Currently, the semi-official discussion for this tutorial is available in the libtcod forum, at:
http://doryen.eptalys.net/forum/index.php?topic=328.0
Jotaf 16:47, 7 December 2009 (UTC)
My consern is the dotted borders around code. Why is the regular wiki style not enough? Especially the one-line snippets really attack the eyes. I now styling is kind of a matter of preference, but there are many reasons why standards (or de-facto standards) are used (I know, citation needed, and one can argue that the regular wiki style is bad, but it does suite millions of people after all, e.g. through Wikipedia...) Aave
- Hey folks: can I suggest the following?
# Hello, world!
print "Hello, world!"
print (a + b) * 5
- I think the code examples look substantially better without the heavily dotted borders and dark-grey background. If you want borders and a background, you could just use
<div style="border: dotted 1px rgb(128,128,128); background-color: rgb(240,240,240);">...</div>
or something like that:
# Hello, world!
print "Hello, world!"
print (a + b) * 5
- My two cents, —Thomas Larsen 02:45, 6 June 2010 (UTC)
- Yes, I had reservations about it too, but I couldn't find a different combination that I liked so I left it alone. Thanks for the tips, I changed the first section to Thomas's suggestion and it looks much better; I also went ahead and decided to make it a lighter solid border that doesn't look very different from a 1 pixel dotted line. Tell me what you think, if it's alright I'll change the rest too. A direct link. Jotaf 00:30, 10 June 2010 (UTC)
- I think the new border and background colour are much better. My only suggestion would be to add
padding: 5px;
or something similar: the code is currently right up against the solid border, and it looks quite "cramped". Cheers, —Thomas Larsen 04:31, 13 June 2010 (UTC)- Done. You're right that the padding is a huge improvement. I updated all the code blocks to the new style. :) Jotaf 01:33, 24 June 2010 (UTC)
- I think the new border and background colour are much better. My only suggestion would be to add
- Yes, I had reservations about it too, but I couldn't find a different combination that I liked so I left it alone. Thanks for the tips, I changed the first section to Thomas's suggestion and it looks much better; I also went ahead and decided to make it a lighter solid border that doesn't look very different from a 1 pixel dotted line. Tell me what you think, if it's alright I'll change the rest too. A direct link. Jotaf 00:30, 10 June 2010 (UTC)
Copyright/Copyleft
What licence is used for the tutorial code?