http://stackoverflow.com/questions/11941817/how-to-avoid-runtimeerror-dictionary-changed-size-during-iteration-error
Yes, yes it did.
This makes my head hurt.
Thursday, March 31, 2016
Delete an element from a dictionary in Python
http://stackoverflow.com/questions/5844672/delete-an-element-from-a-dictionary
Very interesting reading the various solutions.
Very interesting reading the various solutions.
Create a dictionary with list comprehension in Python
http://stackoverflow.com/questions/1747817/create-a-dictionary-with-list-comprehension-in-python
I continue to have trouble understanding list comprehension in Python.
No matter how many times I read code like this, it just does not stick.
I continue to have trouble understanding list comprehension in Python.
No matter how many times I read code like this, it just does not stick.
Field of Glory 2.0
http://www.slitherine.com/games/FoG-2.0-POD
Historical tabletop miniatures gaming system.
There is also a digital version of the rules.
Historical tabletop miniatures gaming system.
There is also a digital version of the rules.
Dragon Rampant
http://www.amazon.com/Dragon-Rampant-Fantasy-Wargaming-Wargames/dp/1472815718
I have always had a special interest in nameless Dark Lords looking to conquer the known world.
I have always had a special interest in nameless Dark Lords looking to conquer the known world.
Ganesha Games
http://www.ganeshagames.net/
The Battlesworn system looks particularly interesting.
As the the Song of Blades and Heroes.
The Battlesworn system looks particularly interesting.
As the the Song of Blades and Heroes.
No Quarter
https://noquarterwargames.wordpress.com/
Free to download fantasy rules. I have not tried them yet. On my "to do" list.
Free to download fantasy rules. I have not tried them yet. On my "to do" list.
Legarius bites the big one
http://carmensminiaturepainting.blogspot.com/2012/05/red-sun-black-moon-first-battle-report.html
Entertaining battle report using the Red Sand, Black Moon gladiator rules.
Note that the blog post title has Red Sand, but the above link has red sun. Odd.
Entertaining battle report using the Red Sand, Black Moon gladiator rules.
Note that the blog post title has Red Sand, but the above link has red sun. Odd.
Descent
http://www.amazon.com/Descent-Journeys-Dark-Second-Edition/dp/1616611898
Some humorous Q & A.
Interesting discussion about the differences between 1st and 2nd editions.
I have not played either, but would like to try them both.
Some humorous Q & A.
Interesting discussion about the differences between 1st and 2nd editions.
I have not played either, but would like to try them both.
Wednesday, March 30, 2016
Mordheim Living Rulebook
http://www.thekeeponline.com/documents/MordheimLivingRulebook.pdf
Features a very interesting section on Hired Swords, including pit fighter, ogre bodyguard, halfling scout, warlock, freelancer, elf ranger, and dwarf troll slayer.
Hired Swords require a hire fee and an upkeep fee.
Have to think long and hard about how to adapt this kind of system to my warband sim.
Features a very interesting section on Hired Swords, including pit fighter, ogre bodyguard, halfling scout, warlock, freelancer, elf ranger, and dwarf troll slayer.
Hired Swords require a hire fee and an upkeep fee.
Have to think long and hard about how to adapt this kind of system to my warband sim.
The Garage Gamers
http://thegaragegamers.blogspot.com/
Here is an increasingly rare sight, a game blog that is still active.
Here is an increasingly rare sight, a game blog that is still active.
Frostgrave
https://ospreypublishing.com/frostgrave
This looks like a very interesting game, an alternative to Mordheim and other games of that type.
This looks like a very interesting game, an alternative to Mordheim and other games of that type.
Fantasy Warriors by Grenadier
http://www.grenadier.it/regole/fantasy%20warriors.pdf
I own a copy of this boxed set.
Includes rules for individual characters such as leaders, champions, musicians, standard bearers, priests, soothsayers, wizards, heroes, etc.
I own a copy of this boxed set.
Includes rules for individual characters such as leaders, champions, musicians, standard bearers, priests, soothsayers, wizards, heroes, etc.
Path to Glory, Revisited
http://www.angelfire.com/co4/thedarkgods/pathext.pdf
Tables 1 and 2 have some interesting ideas for recruiting additional characters to warbands.
Not quite sure how to convert Path to Glory Favor points to my own version of Favor points, have to experiment with it.
Tables 1 and 2 have some interesting ideas for recruiting additional characters to warbands.
Not quite sure how to convert Path to Glory Favor points to my own version of Favor points, have to experiment with it.
Tuesday, March 29, 2016
The Fundamental Pillars of a Combat System
http://www.gamasutra.com/view/feature/175950/the_fundamental_pillars_of_a_.php
I have a special interest in this topic since I am trying to design a combat system for my warband sim.
I have a special interest in this topic since I am trying to design a combat system for my warband sim.
Chaotopia
http://chaotopia-dave.blogspot.com/
Fascinating blog, I particularly enjoyed reading about chaos magic.
Fascinating blog, I particularly enjoyed reading about chaos magic.
Imperial Assassin
http://www.mordheimer.com/hired_swords/hs_imperial_assassin.htm
Interesting that Imperial assassins are allowed to goof off between assignments, join warbands, get themselves killed.
Interesting that Imperial assassins are allowed to goof off between assignments, join warbands, get themselves killed.
The Lore of Dark Magic
http://hoodlinghole.blogspot.com/2013/11/lores-of-magic-lore-of-dark-magic.html
Good discussion of dark magic.
I really like that Doombolt with 4d6 Strength 5 hits. Ouch.
Good discussion of dark magic.
I really like that Doombolt with 4d6 Strength 5 hits. Ouch.
Casualties or The Almost Dead
In the Warband sim, if a character is "killed" in a battle, after the battle there are a couple of possibilities:
1) "He's Dead, Jim!" Yes, he really is dead, permanently removed from the sim, unless there is some kind of heroic or divine intervention, e.g. can shamans bring the dead back to life?
2) Raised as an undead, continues in warband as modified character such as ghoul, zombie, etc.
3) Recovers from wounds, but at diminished capacity. for example, loss of one point in some attribute
4) Fully recovers, restored to original condition
If the character has Favor points to spend, then he might be able to negotiate a better outcome?
1) "He's Dead, Jim!" Yes, he really is dead, permanently removed from the sim, unless there is some kind of heroic or divine intervention, e.g. can shamans bring the dead back to life?
2) Raised as an undead, continues in warband as modified character such as ghoul, zombie, etc.
3) Recovers from wounds, but at diminished capacity. for example, loss of one point in some attribute
4) Fully recovers, restored to original condition
If the character has Favor points to spend, then he might be able to negotiate a better outcome?
Massive Fantasy Games on a Budget
http://specialfrieddice.com/UpscaledHordesOfTheThings
Very entertaining, well worth reading, more than once.
Excellent discussion of rules and miniatures.
Very entertaining, well worth reading, more than once.
Excellent discussion of rules and miniatures.
Monday, March 28, 2016
Dexterity, Further Thoughts
If Dexterity is used for all of the following:
Number of attacks
Parry
To Hit
then it introduces a balance issue, because Dexterity has such a large cumulative effect.
Not sure what to do about this, requires a lot of careful consideration.
Number of attacks
Parry
To Hit
then it introduces a balance issue, because Dexterity has such a large cumulative effect.
Not sure what to do about this, requires a lot of careful consideration.
Sunday, March 27, 2016
Dark Age
http://www.dark-age.com/Downloads/Rules/DarkAgeCoreRules2013.pdf
A post-apocalyptic thriller with very interesting back story.
Comprehensive rules.
A post-apocalyptic thriller with very interesting back story.
Comprehensive rules.
The Fantasy Trip - Wizard
http://bluwiki.com/go/Tft-wizard
I have spent a lot more time reading and thinking about melee rules than I have magic rules.
There is a lot of work to do and this is a good starting place.
I have spent a lot more time reading and thinking about melee rules than I have magic rules.
There is a lot of work to do and this is a good starting place.
The Fantasy Trip - Melee
http://bluwiki.com/go/Tft-melee
More interesting rules, cover a lot of ground, not what I am looking for.
More interesting rules, cover a lot of ground, not what I am looking for.
Hand to Hand Tactical Miniatures Rules
I have been reading a lot of rules lately. A LOT of rules.
I have arrived at the conclusion that I should just write my own, picking and choosing from the various rulesets until I get what I want.
Consider the following attributes for melee combat:
Agility - used for dodge
Constitution - used for hit points
Dexterity - used for to hit and parry
Strength - used for damage
Toughness - used to shake off hits that would otherwise reduce hit points
Yes, I could combine agility and dexterity into one stat, but in this case, I think more variability is better.
Similarly for combining constitution and toughness into one stat.
Consider the following attributes for magic:
Intelligence for sorcery
Spirit for magic defense
Wisdom for shaman magic
Obviously will need a lot of testing.
I have arrived at the conclusion that I should just write my own, picking and choosing from the various rulesets until I get what I want.
Consider the following attributes for melee combat:
Agility - used for dodge
Constitution - used for hit points
Dexterity - used for to hit and parry
Strength - used for damage
Toughness - used to shake off hits that would otherwise reduce hit points
Yes, I could combine agility and dexterity into one stat, but in this case, I think more variability is better.
Similarly for combining constitution and toughness into one stat.
Consider the following attributes for magic:
Intelligence for sorcery
Spirit for magic defense
Wisdom for shaman magic
Obviously will need a lot of testing.
Shield Breaker
http://shieldbreaker.net/
Very simple rules, maybe a little too simple for what I am looking for.
The magic rules are not at all what I am looking for.
Very simple rules, maybe a little too simple for what I am looking for.
The magic rules are not at all what I am looking for.
Functional Programming
http://www.forbes.com/sites/quora/2014/08/08/the-best-languages-for-getting-into-functional-programming/#76d6d64043fe
Haskell and Scheme.
I programmed with procedural languages for decades, I have barely gotten into OOP, how am I going to transition to functional programming?
Haskell and Scheme.
I programmed with procedural languages for decades, I have barely gotten into OOP, how am I going to transition to functional programming?
Haskell
http://www.devalot.com/articles/2013/07/why-haskell.html
Learning Haskell seems like a daunting task, I can barely navigate Python.
Learning Haskell seems like a daunting task, I can barely navigate Python.
SAGA Review
http://deltavector.blogspot.com/2012/11/saga-28mm-dark-ages-rulebook-review.html
"... a good intro to Ancients/Dark Ages gaming."
Agreed, but not exactly what I am looking for.
"... a good intro to Ancients/Dark Ages gaming."
Agreed, but not exactly what I am looking for.
Savage Worlds Showdown
https://www.peginc.com/store/savage-worlds-showdown-2/
Miniatures Rules for all Genres
Interesting rules, cover a lot of ground. but not exactly what I am looking for.
Miniatures Rules for all Genres
Interesting rules, cover a lot of ground. but not exactly what I am looking for.
Friday, March 25, 2016
The Dice Must Flow
https://boardgamegeek.com/thread/1542971/dice-must-flow-space-biff-review
This review makes me want to take a serious look at this game.
I am a huge fan of Dune (the original book, not the sequels, not the movies).
This review makes me want to take a serious look at this game.
I am a huge fan of Dune (the original book, not the sequels, not the movies).
Havoc: Tactical Miniature Warfare
http://www.amazon.com/Havoc-Tactical-Miniature-Brent-Spivey/dp/0984303707
Could not find it on Goodreads, even usiing the ISBN.
Could not find it on Goodreads, even usiing the ISBN.
Necromunda
http://www.poisonousmonkeys.co.uk/Necromunda/Necromunda_Docs/Necromunda_Rulebook.pdf
The Necromunda rules are highly regarded, recommended for beginners, etc.
They are the right scale for what I want but they just don't work the way my brain works.
It looks like I am going to have to pick and choose from several systems and craft my own rules.
The Necromunda rules are highly regarded, recommended for beginners, etc.
They are the right scale for what I want but they just don't work the way my brain works.
It looks like I am going to have to pick and choose from several systems and craft my own rules.
Agility vs. Dexterity
http://www.torilmud.com/phpBB3/viewtopic.php?t=162
I think I want to use:
Agility for dodge
Dexterity for to hit & parry
I think I want to use:
Agility for dodge
Dexterity for to hit & parry
Path to Glory
http://www.minishoppa.com/snotling/PathToGlory.pdf
The "Rules for Fighting with Chaos Warbands" is a wee bit misleading because these rules are for managing chaos warbands.
Interesting, usable rules but not for the actual combat itself.
The "Rules for Fighting with Chaos Warbands" is a wee bit misleading because these rules are for managing chaos warbands.
Interesting, usable rules but not for the actual combat itself.
Ancient Battles
http://members.efn.org/~fred_m/Warhammer%20Ancient%20Battles%20-%20Rulebook.pdf
Interesting rules but based on unit vs. unit.
To hit chart is weapon skill vs. weapon skill.
Wound chart is strength vs. toughness.
Interesting rules but based on unit vs. unit.
To hit chart is weapon skill vs. weapon skill.
Wound chart is strength vs. toughness.
Chaos Warbands
The reason that I am looking at gladiator and similar rules is that I am trying to write a sim (yes, a sim, not a game) abut chaos warbands.
I like the Warhammer Fantasy Battle rules, but they are optimized for combat between units.
I feel they need more than a little tweaking to be optimized for one-on-one combat, which is what my agent-based sim will use.
Also, in the current version, I am using d10s (ten-sided dice).
I like the way d10s give more range and variability than d6s.
I like the Warhammer Fantasy Battle rules, but they are optimized for combat between units.
I feel they need more than a little tweaking to be optimized for one-on-one combat, which is what my agent-based sim will use.
Also, in the current version, I am using d10s (ten-sided dice).
I like the way d10s give more range and variability than d6s.
Gladiator Combat
http://www.amazon.com/Gladiators-Realistic-Simulation-Gladiatorial-Combat/dp/B000JYMNPM
Could not find it on Goodreads or in the MCFLS.
Could not find it on Goodreads or in the MCFLS.
Very simple rules
http://dominowriting.com/SimpleMinisRevised.pdf
Very simple, in fact, a little too simple.
Yes, I know, I am being picky but I know what I want.
Very simple, in fact, a little too simple.
Yes, I know, I am being picky but I know what I want.
Fast Play Gladiator Rules
http://www.rebelpublishing.net/pdfs/Are_You_Not_Entertained.pdf
These are interesting rules, but not exactly what I am looking for.
I need fast, simple (but not too simple) one-on-one melee rules.
These are interesting rules, but not exactly what I am looking for.
I need fast, simple (but not too simple) one-on-one melee rules.
Thursday, March 24, 2016
Wednesday, March 23, 2016
Haulers
I implemented the vector math in the Haulers program (written in Python).
It was easier than I thought.
Now it is a neat little sim where freight haulers happily travel from space station to space station.
It uses the Zelle graphics package.
Tons of fun learning Python this way.
It was easier than I thought.
Now it is a neat little sim where freight haulers happily travel from space station to space station.
It uses the Zelle graphics package.
Tons of fun learning Python this way.
Tuesday, March 22, 2016
Creating Variables from String Names
http://stackoverflow.com/questions/36157294/creating-variables-from-string-names
I like the idea of using a dictionary.
Also, I originally found this discussion via browsing. Then, when I searched for it using the exact words in the title, I got no hit for it. What is up with that?
I like the idea of using a dictionary.
Also, I originally found this discussion via browsing. Then, when I searched for it using the exact words in the title, I got no hit for it. What is up with that?
Python Vector
http://noobtuts.com/python/vector
This is exactly what I need. The example of a monster moving toward a player is very similar to my freight hauler moving toward a space station.
This is exactly what I need. The example of a monster moving toward a player is very similar to my freight hauler moving toward a space station.
Word Ladder
https://en.wikipedia.org/wiki/Word_ladder
Invented by Lewis Carroll.
Makes an interesting Python project as follows:
http://interactivepython.org/runestone/static/pythonds/Graphs/BuildingtheWordLadderGraph.html
Invented by Lewis Carroll.
Makes an interesting Python project as follows:
http://interactivepython.org/runestone/static/pythonds/Graphs/BuildingtheWordLadderGraph.html
Market Share
http://gamedev.stackexchange.com/questions/23422/how-do-i-calculate-market-share-in-an-economic-simulation
I will have to experiment with this in my 4x game.
I will have to experiment with this in my 4x game.
Python progression path
http://stackoverflow.com/questions/2573135/python-progression-path-from-apprentice-to-guru
This discussion contains a treasure trove of advice and resources. I have a long way to go.
This discussion contains a treasure trove of advice and resources. I have a long way to go.
Monday, March 21, 2016
On the Incompatibility of Two Conjectures Concerning Primes
https://en.wikipedia.org/wiki/Second_Hardy%E2%80%93Littlewood_conjecture
Sometimes truth really is stranger than fiction.
Sometimes truth really is stranger than fiction.
Discrete Structures in Python
http://www.cs.utah.edu/~ganesh/misc/2100NEWbook.pdf
I continue to be amazed bordering on stupification by the amount of excellent free stuff available online.
I continue to be amazed bordering on stupification by the amount of excellent free stuff available online.
False or 18.2
https://www.passeidireto.com/arquivo/972084/practical-programming---an-introduction-to-computer-science-using-python--v2009-/23
>>> False or 18.2
18.2
in 2009, the answer was 18.199999999999999, which in some ways, was more interesting.
>>> False or 18.2
18.2
in 2009, the answer was 18.199999999999999, which in some ways, was more interesting.
2 vs. True
>>> 2 == True
False
>>> bool(2)
True
Things like this make Python an interesting language.
False
>>> bool(2)
True
Things like this make Python an interesting language.
Space Engine
http://en.spaceengine.org/
Of all the things I have seen recently, this is the one that most makes me wish I had a working Windows machine.
This makes No Man's Sky seem less impressive than the hype.
Of all the things I have seen recently, this is the one that most makes me wish I had a working Windows machine.
This makes No Man's Sky seem less impressive than the hype.
Reverse a string in Python
http://stackoverflow.com/questions/931092/reverse-a-string-in-python
I particularly like the very Pythonic [::-1].
I particularly like the very Pythonic [::-1].
Build New Games
http://buildnewgames.com/
Yet another website that was publishing awesome content and then went dormant.
Yet another website that was publishing awesome content and then went dormant.
Thea
http://explorminate.net/2016/03/21/thea-the-awakening-giants-qa/
Thea was already interesting, now this new DLC makes it even more interesting.
I sure wish I could find more hours in the day so I could explore Thea.
Thea was already interesting, now this new DLC makes it even more interesting.
I sure wish I could find more hours in the day so I could explore Thea.
Sunday, March 20, 2016
How To Build a Game
http://www.gamedev.net/page/resources/_/creative/game-design/how-to-build-a-game-in-a-week-from-scratch-with-no-budget-r2259
This was an interesting project.
Maybe someday I can try it.
This was an interesting project.
Maybe someday I can try it.
Buggy Python Code
https://www.toptal.com/python/top-10-mistakes-that-python-programmers-make
Yes, some very esoteric features of Python can be confusing. I know so little about Python that I do not make some of these mistakes because I do not even know that some of these features exist.
Mistake #0 = Being a Python programmer
Siri, remind me to take another look at Swift, Apple's new language.
Yes, some very esoteric features of Python can be confusing. I know so little about Python that I do not make some of these mistakes because I do not even know that some of these features exist.
Mistake #0 = Being a Python programmer
Siri, remind me to take another look at Swift, Apple's new language.
How do I create a list of objects and reference them individually?
https://www.reddit.com/r/learnpython/comments/4b82tc/how_do_i_create_a_list_of_objects_and_reference/
I have been searching for something like this for months. Literally, months.
I came across this by accident while browsing the subreddit.
And when I search for the title listed above, I get no hits for it. Why is that?
I have been searching for something like this for months. Literally, months.
I came across this by accident while browsing the subreddit.
And when I search for the title listed above, I get no hits for it. Why is that?
Godot Engine
http://godotengine.org/
The best little engine that nobody ever heard of?
Siri, remind me to experiment with it.
The best little engine that nobody ever heard of?
Siri, remind me to experiment with it.
10,000 hours
http://www.fastcodesign.com/3027564/asides/scientists-debunk-the-myth-that-10000-hours-of-practice-makes-you-an-expert
I can offer my own anecdotal evidence on this.
Since 1972 (FORTRAN), I have more than 10,000 hours in as a computer programmer, and I am no expert.
I can offer my own anecdotal evidence on this.
Since 1972 (FORTRAN), I have more than 10,000 hours in as a computer programmer, and I am no expert.
Saturday, March 19, 2016
Missing list in Python
# missing list
colors = ["red", "green", "blue", "violet", "yellow", "orange", "purple"]
print colors # prints list as above
colors.sort()
print colors # prints sorted list
sorted_colors = colors.sort()
print sorted_colors # prints None
print colors.sort() # prints None
Wow, just wow. Counter-intuitive. Not the way my brain works.
colors = ["red", "green", "blue", "violet", "yellow", "orange", "purple"]
print colors # prints list as above
colors.sort()
print colors # prints sorted list
sorted_colors = colors.sort()
print sorted_colors # prints None
print colors.sort() # prints None
Wow, just wow. Counter-intuitive. Not the way my brain works.
Friday, March 18, 2016
Collision Detection
http://devmag.org.za/2009/04/13/basic-collision-detection-in-2d-part-1/
I am experimenting with the Zelle graphics module. I coded up a little program that has colored balls bouncing around the screen. They bounce off the walls but happily ignore each other. I would like to implement some kind of primitive collision detection so that they bounce off each other.
Siri, remind me to work on this.
Edit:
I am amazed bordering on stupification that I was able to implement a crude version of collision detection. Let's be honest, this is not a serious physics engine, but the balls do bounce off each other, which is all I really wanted.
I am experimenting with the Zelle graphics module. I coded up a little program that has colored balls bouncing around the screen. They bounce off the walls but happily ignore each other. I would like to implement some kind of primitive collision detection so that they bounce off each other.
Siri, remind me to work on this.
Edit:
I am amazed bordering on stupification that I was able to implement a crude version of collision detection. Let's be honest, this is not a serious physics engine, but the balls do bounce off each other, which is all I really wanted.
Add key to dictionary in Python
http://stackoverflow.com/questions/1024847/add-key-to-a-dictionary-in-python
This interesting. I use Python dictionaries all the time but I have yet to add a key to a dictionary.
In every case so far, I just create a dictionary and then use it without modifying it further.
I will try to use the preferred method when I do add a key.
This interesting. I use Python dictionaries all the time but I have yet to add a key to a dictionary.
In every case so far, I just create a dictionary and then use it without modifying it further.
I will try to use the preferred method when I do add a key.
Creating Class Instances Dynamically in Python
http://stackoverflow.com/questions/20320024/creating-class-instances-dynamically-in-python
Very interesting discussion.
I use what is described as "ugly" here.
The only thing I can say is that it works, and I cannot figure out how to do it any better.
This discussion focuses so narrowly on CSV that I cannot translate it to my situation without a lot of further work.
Very interesting discussion.
I use what is described as "ugly" here.
The only thing I can say is that it works, and I cannot figure out how to do it any better.
This discussion focuses so narrowly on CSV that I cannot translate it to my situation without a lot of further work.
range vs. xrange
http://stackoverflow.com/questions/94935/what-is-the-difference-between-range-and-xrange-functions-in-python-2-x
Interesting discussion from 7 years ago.
I have to admit that I did not know the difference.
Interesting discussion from 7 years ago.
I have to admit that I did not know the difference.
FTL
http://explorminate.net/2016/03/18/firday-excursion-ftl/
Sounds like a very fun game.
If I ever master Python (that is, never), then maybe I will find time to play it.
Sounds like a very fun game.
If I ever master Python (that is, never), then maybe I will find time to play it.
Thursday, March 17, 2016
Jessica McKellar
http://web.mit.edu/jesstess/
A hands-on introduction to Python for beginner programmers.
And she should know, since she is a Director of the Python Software Foundation.
A hands-on introduction to Python for beginner programmers.
And she should know, since she is a Director of the Python Software Foundation.
interesting Python features: arguments
https://docs.python.org/2/tutorial/controlflow.html
Siri, remind me to explore this further.
Siri, remind me to explore this further.
i = 5 def f(arg=i): print arg i = 6 f()
prints 5 instead of 6.
Wednesday, March 16, 2016
Python "with" statement
http://preshing.com/20110920/the-python-with-statement-by-example/
Yet another feature of Python that I have not yet used.
Yet another feature of Python that I have not yet used.
Python sys.exit()
http://stackoverflow.com/questions/9426045/difference-between-exit0-and-exit1-in-python
Yet another feature that I need to experiment with.
Yet another feature that I need to experiment with.
Cardinal, Ordinal, and Nominal Numbers
http://www.factmonster.com/ipka/A0875618.html
I think I might be starting to understand this. Maybe.
I think I might be starting to understand this. Maybe.
Why does Python range not include the last number?
http://stackoverflow.com/questions/4504662/why-does-rangestart-end-not-include-end
Not sure that I fully understand this but I am gradually learning to cope.
Not sure that I fully understand this but I am gradually learning to cope.
Why numbering should start at zero
http://www.cs.utexas.edu/users/EWD/ewd08xx/EWD831.PDF
FORTRAN was my first computer language, so that explains why I have had trouble with this ever since.
FORTRAN was my first computer language, so that explains why I have had trouble with this ever since.
Python Imaging Library
http://www.pythonware.com/products/pil/
Widely used in Python 2.x code.
Maybe once I get caught up on a million other projects, then I can dive into it.
Siri, remind me....
Widely used in Python 2.x code.
Maybe once I get caught up on a million other projects, then I can dive into it.
Siri, remind me....
Zelle Python graphics
http://anh.cs.luc.edu/python/hands-on/3.1/handsonHtml/graphics.html
A tutorial on the use of the Zelle Python graphics package.
Limited capabilities, but easy to use.
A tutorial on the use of the Zelle Python graphics package.
Limited capabilities, but easy to use.
Zetcode
http://zetcode.com/
Tutorials and e-books, including Python.
I am particularly interested in the new book on Tkinter programming.
Tutorials and e-books, including Python.
I am particularly interested in the new book on Tkinter programming.
Functional Programming
https://docs.python.org/2/howto/functional.html
After reading this, I find it unlikely that I will ever be a Haskell programmer.
After reading this, I find it unlikely that I will ever be a Haskell programmer.
eval() is evil
http://nedbatchelder.com/blog/201206/eval_really_is_dangerous.html
I will try to avoid the use of eval().
I will try to avoid the use of eval().
Tuesday, March 15, 2016
NumPy
http://www.numpy.org/
Siri, remind me when/if I ever learn basic Python that I should dive into libraries like NumPy.
Siri, remind me when/if I ever learn basic Python that I should dive into libraries like NumPy.
Why can't I copy and paste Python code from PDF files?
http://stackoverflow.com/questions/12184304/if-pdf-copypaste-gives-garbage-text-what-is-wrong-with-the-pdf-source-code
This is really annoying.
For small snippets of code, it is faster to type them in rather than jump through all the hoops to convert PDF to plain text.
This is really annoying.
For small snippets of code, it is faster to type them in rather than jump through all the hoops to convert PDF to plain text.
Python in Neuroscience
https://books.google.com/books/about/Python_in_Neuroscience.html?id=AQjmCgAAQBAJ&hl=en
Could not find it on Goodreads, even using the ISBN.
Could not find it on Goodreads, even using the ISBN.
One million darts
http://niallohiggins.com/2007/07/05/monte-carlo-simulation-in-python-1/
I think I can actually do this.
I think I can actually do this.
Chi-square Tutorial
http://www.radford.edu/~rsheehy/Gen_flash/Tutorials/Chi-Square_tutorial/x2-tut.htm
Siri, put this on my to-do list.
Write my own chi-square Python code without relying on NumPy, SciPy, and all the other pies.
Siri, put this on my to-do list.
Write my own chi-square Python code without relying on NumPy, SciPy, and all the other pies.
Chi-squared Python
http://astropython.blogspot.com/2012/02/computing-chi-squared-and-reduced-chi.html
Does anyone besides me remember when we did chi-squared calculations with a slide rule?
Now, we cannot do them without relying on libraries.
Does anyone besides me remember when we did chi-squared calculations with a slide rule?
Now, we cannot do them without relying on libraries.
Saying Goodbye to Python
http://www.ianbicking.org/blog/2014/02/saying-goodbye-to-python.html
Well written, thoughtful.
I was surprised by the negative comments.
Well written, thoughtful.
I was surprised by the negative comments.
Introduction to Simulation
http://heather.cs.ucdavis.edu/~matloff/156/PLN/SimIntro.pdf
This is exactly what I need, a good starting point.
This is exactly what I need, a good starting point.
User Menus
http://codereview.stackexchange.com/questions/65305/making-user-menus-in-a-text-based-game
An interesting discussion of user menus.
I need to implement some of this.
An interesting discussion of user menus.
I need to implement some of this.
Eleven Lines of Python
http://iamtrask.github.io/2015/07/12/basic-python-network/
Very interesting exploration of neural networks.
Uses NumPy.
Very interesting exploration of neural networks.
Uses NumPy.
Sierpinski
http://codegolf.stackexchange.com/questions/6281/draw-a-sierpinski-triangle
The Python (90 chars) entry is interesting but glacially slow.
The Python (90 chars) entry is interesting but glacially slow.
UltraCorps
https://boardgamegeek.com/blogpost/10407/ultracorps-boardgame-isnt
I am amazed bordering on stupification that this game has been out for so long and that I never heard of it until today.
Which makes me wonder how many other interesting games are hidden away in hard to find places.
I am amazed bordering on stupification that this game has been out for so long and that I never heard of it until today.
Which makes me wonder how many other interesting games are hidden away in hard to find places.
Monday, March 14, 2016
Conway's Game of Life in Python
http://codereview.stackexchange.com/questions/40886/conways-game-of-life-in-python
"This is excellent code for a Python novice."
All the more reason that I should study this code in detail.
"This is excellent code for a Python novice."
All the more reason that I should study this code in detail.
2048 game in Python
http://www.thetaranights.com/make-a-2048-game-in-python/
I am not particularly interested in the 2048 game, but I am very interested in the Python code.
I am not particularly interested in the 2048 game, but I am very interested in the Python code.
Maximum recursion depth
http://pythontips.com/2013/08/31/fixing-error-maximum-recursion-depth-reached/
This is interesting.
#1 I have yet to get this error, which I think means that I have not done enough recursion.
# 2 It seems like this is fixing the symptom instead of fixing the problem.
Like so many other things in Python, I will have to experiment with it.
Edit (3-18-2016):
I got this error for the first time today.
I put the name of a sub-class where the name of a class should go, thereby creating a recursion where none was intended.
This is interesting.
#1 I have yet to get this error, which I think means that I have not done enough recursion.
# 2 It seems like this is fixing the symptom instead of fixing the problem.
Like so many other things in Python, I will have to experiment with it.
Edit (3-18-2016):
I got this error for the first time today.
I put the name of a sub-class where the name of a class should go, thereby creating a recursion where none was intended.
Neopythonic
http://neopythonic.blogspot.com/
Yet another excellent blog that has been abandoned, or has gone dormant, or ....
Yet another excellent blog that has been abandoned, or has gone dormant, or ....
Linked list in Python
https://www.codefellows.org/blog/implementing-a-singly-linked-list-in-python
Here is yet another code example that I should experiment with.
Here is yet another code example that I should experiment with.
Planar Conquest
http://www.pockettactics.com/reviews/review-planar-conquest/
As a possible successor to Master of Magic, this looks like a fun game.
Should I buy a new iPad, since it will not run on my iPad 2?
Or should I wait for the PS4 version, since I want to buy a PS4 so I can play No Man's Sky?
Tough decisions.
As a possible successor to Master of Magic, this looks like a fun game.
Should I buy a new iPad, since it will not run on my iPad 2?
Or should I wait for the PS4 version, since I want to buy a PS4 so I can play No Man's Sky?
Tough decisions.
Thursday, March 10, 2016
The Star Citizen Economy
https://robertsspaceindustries.com/comm-link/engineering/13128-The-Star-Citizen-Economy
An absolute treasure trove of ideas about creating an in-game economy.
An absolute treasure trove of ideas about creating an in-game economy.
Use of "global" keyword in Python
http://stackoverflow.com/questions/4693120/use-of-global-keyword-in-python
Yet another interesting discussion of global variables.
Yet another interesting discussion of global variables.
A Likable Zombie
https://unsolicitedtwocents.wordpress.com/2016/03/01/a-likable-zombie-solves-crimes/
This sounds like my kind of series.
This sounds like my kind of series.
Simple Console Roguelike Game
http://codereview.stackexchange.com/questions/42203/simple-console-roguelike-game
I like the Pythonic alternative to the long chain of elif statements.
I like the Pythonic alternative to the long chain of elif statements.
How to Write a Text Adventure in Python
http://letstalkdata.com/2014/08/how-to-write-a-text-adventure-in-python/
Yet another fun project that I should find time for.
Yet another fun project that I should find time for.
Python Text Based Game Display
http://stackoverflow.com/questions/12658779/python-text-based-game-display
Yes, better to clear the screen before drawing, rather than immediately after drawing.
Yes, better to clear the screen before drawing, rather than immediately after drawing.
Battleship
http://thelivingpearl.com/2014/02/17/the-game-of-battleships-in-python/
I will have to experiment with it.
I will have to experiment with it.
GC III: Mercenaries
http://explorminate.net/2016/03/10/galactic-civilizations-iii-mercenaries-review/
Positive review, I greatly enjoyed reading it.
Would love to play some GC III but I do not have a working Windows machine.
Maybe I should get one.
Positive review, I greatly enjoyed reading it.
Would love to play some GC III but I do not have a working Windows machine.
Maybe I should get one.
Hidden Features of Python
http://stackoverflow.com/questions/101268/hidden-features-of-python
Some fascinating features.
I found the discussion of enumeration particularly interesting.
Some fascinating features.
I found the discussion of enumeration particularly interesting.
Simulating Evolutionary Games
http://econpapers.repec.org/article/jasjasssj/2008-8-2.htm
Features a helpful review of Python and a very interesting discussion of agent based simulation.
Well worth reading, more than once.
Features a helpful review of Python and a very interesting discussion of agent based simulation.
Well worth reading, more than once.
Trigger Warning
Trigger Warning (2015) by Neil Gaiman
Terrific collection of stories. Some seriously disturbed and disturbing stories.
Would be hard for me to pick a favorite from so many excellent stories.
But....
I would like to read several novel-length works on the adventures of the protagonist in "The Truth is a Cave in the Black Mountains..."
I was very disappointed when I reached the end of the book, I just wanted to go on and on, reading those amazing stories.
Terrific collection of stories. Some seriously disturbed and disturbing stories.
Would be hard for me to pick a favorite from so many excellent stories.
But....
I would like to read several novel-length works on the adventures of the protagonist in "The Truth is a Cave in the Black Mountains..."
I was very disappointed when I reached the end of the book, I just wanted to go on and on, reading those amazing stories.
Wednesday, March 9, 2016
Tom Otter
http://www.saxilbyhistory.org/tom_otter.html
A gruesome bit of history, if true.
Fascinating fiction, otherwise.
A gruesome bit of history, if true.
Fascinating fiction, otherwise.
Stagnant 4X Genre
https://www.rockpapershotgun.com/2016/03/07/how-to-fix-the-4x/
Interesting opinion piece. I do not agree with him, but worth reading.
The author got ripped on the Explorminate Steam forum.
http://steamcommunity.com/groups/explorminate/discussions/0/412448792368070608/
Nate, in particular, got in some solid punches.
Interesting opinion piece. I do not agree with him, but worth reading.
The author got ripped on the Explorminate Steam forum.
http://steamcommunity.com/groups/explorminate/discussions/0/412448792368070608/
Nate, in particular, got in some solid punches.
sys.argv in Python
http://www.pythonforbeginners.com/system/python-sys-argv
If I learn about something like this every day, will I get there eventually?
If I learn about something like this every day, will I get there eventually?
Dear Game Developers....
http://www.gamasutra.com/blogs/MatiasKindermann/20160308/267525/Dear_Game_Developers_Twitchers_YouTubers_and_Bloggers_please_read_this.php
I am a blogger, so I read it. Interesting read, and I feel his pain, but it does not apply to me because I am not looking for free keys.
Edit: fixed link
I am a blogger, so I read it. Interesting read, and I feel his pain, but it does not apply to me because I am not looking for free keys.
Edit: fixed link
Design Your Own Game
http://www.fractuslearning.com/2013/04/04/design-your-own-game/
Of the 7, GamePress looks like the one that best fits my interests.
Edit: But of course GamePress is not currently available.
Of the 7, GamePress looks like the one that best fits my interests.
Edit: But of course GamePress is not currently available.
Starscape
http://gamedevelopment.tutsplus.com/tutorials/coding-a-custom-sequence-generator-to-render-a-starscape--gamedev-6500
I sure wish this was in Python instead of Java.
Yes, as per the comment in the above link, I should be able to translate the whole thing into Python.
And maybe some day I will be able to do that. Very far in the future.
I sure wish this was in Python instead of Java.
Yes, as per the comment in the above link, I should be able to translate the whole thing into Python.
And maybe some day I will be able to do that. Very far in the future.
Random Map Generation
http://gamedev.stackexchange.com/questions/31241/random-map-generation
Lots of good information in this discussion.
There is a nice graph of biomes per temperature and precipitation.
Even includes plate tectonics! Wow!
Lots of good information in this discussion.
There is a nice graph of biomes per temperature and precipitation.
Even includes plate tectonics! Wow!
Maps and Mazes in Python
https://29a.ch/2009/9/7/generating-maps-mazes-with-python
The Python code runs without error, but does not print anything.
It gives me a starting point, which is all I wanted anyway.
Edit: Figured it out. He enters arguments when he runs the script from the command line. Not how I would do it, especially without comments. Good because I learned about sys.argv, which I should have known about already.
The Python code runs without error, but does not print anything.
It gives me a starting point, which is all I wanted anyway.
Edit: Figured it out. He enters arguments when he runs the script from the command line. Not how I would do it, especially without comments. Good because I learned about sys.argv, which I should have known about already.
Word boundaries in regular expressions
https://developmentality.wordpress.com/2011/09/22/python-gotcha-word-boundaries-in-regular-expressions/
I have not tried to do this yet, so I was unaware of the problem.
I have not tried to do this yet, so I was unaware of the problem.
Dictionaries in Python
https://developmentality.wordpress.com/2012/03/30/three-ways-of-creating-dictionaries-in-python/
I particularly enjoyed the comment, "This is not ideal, however, as it involves an explicit iterator, and is starting to look like Java."
I particularly enjoyed the comment, "This is not ideal, however, as it involves an explicit iterator, and is starting to look like Java."
Tuesday, March 8, 2016
Mersenne Twister
https://en.wikipedia.org/wiki/Mersenne_Twister
Widely used for RNG.
Features an interesting Python implementation.
Not cryptographically secure but probably good enough for hobbyist programming.
Widely used for RNG.
Features an interesting Python implementation.
Not cryptographically secure but probably good enough for hobbyist programming.
Yet another discontinued blog
http://jeremyosborne.com/
Yet another excellent blog, discontinued.
He got a new job at a new company and never posted again.
What led me to his blog was my interest in Procedural World Generation.
Yet another excellent blog, discontinued.
He got a new job at a new company and never posted again.
What led me to his blog was my interest in Procedural World Generation.
Perlin Noise Generator
http://code.activestate.com/recipes/578470-perlin-noise-generator/
First, I have to find the PIL module.
First, I have to find the PIL module.
Spiritual Successor to Diablo 2
http://www.mmorpg.com/gamelist.cfm/game/1047/view/reviews/load/430/A-Stellar-ARPG-Set-in-a-Dark-Gritty-Steampunk-World.html/
Makes me wish I had a Windows machine.
Makes me wish I had a Windows machine.
The SimBlob Project
http://www-cs-students.stanford.edu/~amitp/games.html
An interesting and ambitious project. I would be thrilled to accomplish as much.
An interesting and ambitious project. I would be thrilled to accomplish as much.
Using Python
http://usingpython.com/
This looks like a valuable resource.
I spent a little time browsing around and had fun, but I want to spend a lot more time there.
This looks like a valuable resource.
I spent a little time browsing around and had fun, but I want to spend a lot more time there.
Random numbers seeds
http://stackoverflow.com/questions/32692158/random-choice-returns-same-value-at-the-same-second-how-does-one-avoid-it
Features an interesting discussion of random number seeds.
In my own hobbyist use of the Python random number generator, I have not encountered these types of problems, but I would very much like to so some statistical analysis of the internal structure of samples of random numbers.
In particular, I want to write a sim comparing two processes of generating Soylent Green.
Features an interesting discussion of random number seeds.
In my own hobbyist use of the Python random number generator, I have not encountered these types of problems, but I would very much like to so some statistical analysis of the internal structure of samples of random numbers.
In particular, I want to write a sim comparing two processes of generating Soylent Green.
Bugs per lines of code
http://www.mayerdan.com/ruby/2012/11/11/bugs-per-line-of-code-ratio/
Very interesting.
When I was young (a very long time ago), the industry average was one bug per line of code BEFORE in-house testing.
Remember, this was before the Internet was invented, and before Microsoft released Windows.
When I was in high school (again....), I could type 30 words a minute error free.
Now, I cannot type a single line of code without a typo.
Very interesting.
When I was young (a very long time ago), the industry average was one bug per line of code BEFORE in-house testing.
Remember, this was before the Internet was invented, and before Microsoft released Windows.
When I was in high school (again....), I could type 30 words a minute error free.
Now, I cannot type a single line of code without a typo.
Plotting elevation maps
http://gis.stackexchange.com/questions/116319/plotting-elevation-maps-and-shaded-relief-images-from-latitude-longitude-and-e
Lots of interesting material in this discussion, but what I really need is some more introductory tutorial Python code before I jump into all these third party libraries.
Lots of interesting material in this discussion, but what I really need is some more introductory tutorial Python code before I jump into all these third party libraries.
Python Random Map Generation with Perlin Noise
http://stackoverflow.com/questions/17779480/python-random-map-generation-with-perlin-noise
Features an odd little snippet of Python code. I will have a play with it. It is at least a starting point for investigation.
Features an odd little snippet of Python code. I will have a play with it. It is at least a starting point for investigation.
PCG
http://pcg.wikidot.com/
Procedural Content Generation.
Would love to do some, even if it was very primitive.
Crude prototypes.
Procedural Content Generation.
Would love to do some, even if it was very primitive.
Crude prototypes.
Monday, March 7, 2016
When to use a Class or just define functions?
https://mail.python.org/pipermail/tutor/2003-June/023512.html
It was a little confusing, but I do not think that it had anything to do with wine.
It was a little confusing, but I do not think that it had anything to do with wine.
A* in Python
http://www.redblobgames.com/pathfinding/a-star/implementation.html
I really must experiment with this.
I really must experiment with this.
Egypt Civilization
http://www.cgmagonline.com/2016/03/03/new-game-aims-historical-egyptian-accuracy/
This looks like it could be a lot of fun.
This looks like it could be a lot of fun.
Repeated Demise, and Reincarnation
https://www.aaai.org/Papers/Symposia/Spring/2006/SS-06-08/SS06-08-003.pdf
I made an honest attempt at reading this paper. I think I might have to admit to myself that I have neither the educational background nor the intellectual horsepower to appreciate the finer points.
I made an honest attempt at reading this paper. I think I might have to admit to myself that I have neither the educational background nor the intellectual horsepower to appreciate the finer points.
Why use tuples?
https://mail.python.org/pipermail/tutor/2001-September/008888.html
I keep asking myself this question, and for me, the short answer is, "I don't.""
So far, I have always used a list or a dictionary.
I keep asking myself this question, and for me, the short answer is, "I don't.""
So far, I have always used a list or a dictionary.
Problem Solving
https://www.cs.auckland.ac.nz/courses/compsci105ssc/resources/ProblemSolvingwithAlgorithmsandDataStructures.pdf
Features an excellent review of Python.
Features an excellent review of Python.
Friday, March 4, 2016
BirdyBot
https://www.youtube.com/channel/UCvyNIESj7eKbkIdarZL-0ww
I very much enjoy the Dwarf Fortress and Thea: The Awakening episodes.
I very much enjoy the Dwarf Fortress and Thea: The Awakening episodes.
Booze, Bards, and Ballads
https://www.rockpapershotgun.com/tag/dwarf-fortress/
Makes an already interesting game sound even more interesting.
Makes an already interesting game sound even more interesting.
Dwarf Fortress
http://arstechnica.com/gaming/2013/02/dwarf-fortress-ten-hours-with-the-most-inscrutable-video-game-of-all-time/
Maybe the most entertaining computer game review I have ever read.
Maybe the most entertaining computer game review I have ever read.
Thursday, March 3, 2016
He wants Swift to be your first language
http://www.aaronblock.com/thoughts/2015/8/21/why-i-want-swift-to-be-your-first-language
I am waffling on whether or not to switch from Python to Swift.
I am waffling on whether or not to switch from Python to Swift.
Wednesday, March 2, 2016
How Do You Simulate an Economy?
http://spacesimcentral.com/ssc/topic/2925-how-do-you-simulate-an-economy/
Excellent discussion, I would like to read a lot more like this.
Excellent discussion, I would like to read a lot more like this.
Simulation Programming with Python
http://users.iems.northwestern.edu/~nelsonb/IEMS435/PythonSim.pdf
Features a case study: service center simulation.
Supply, Demand and Market Microstructure
http://meandering-through-mathematics.blogspot.com/2011/08/supply-demand-and-market-microstructure.html
Very interesting model using apple buyers and sellers, implemented with Python.
I want to try some variations on this theme.
Very interesting model using apple buyers and sellers, implemented with Python.
I want to try some variations on this theme.
Simulating Ancient Societies
http://libarts.wsu.edu/anthro/pdf/Kohler%20et%20al.%20SciAm.pdf
They used agent based modeling to analyze why the Anasazi departed the four corners region.
I particularly like the shout-out to Java (remember, this is 2005) for enabling researchers.
They used agent based modeling to analyze why the Anasazi departed the four corners region.
I particularly like the shout-out to Java (remember, this is 2005) for enabling researchers.
Simulating Littoral Trade
http://www.mdpi.com/2073-445X/5/1/5
A fascinating case study using agent based modeling to study the transition from Etruscan wine to Greek wine in Gaul (starting around 600BC).
If I could implement something like this in Python, I would be ecstatic.
A fascinating case study using agent based modeling to study the transition from Etruscan wine to Greek wine in Gaul (starting around 600BC).
If I could implement something like this in Python, I would be ecstatic.
How the Python Ate the Turtle
https://simulatingcomplexity.wordpress.com/2014/05/26/how-the-python-eat-the-turtle/
The author makes the case for Python.
He convinced me, but I am hardly an unbiased observer.
The author makes the case for Python.
He convinced me, but I am hardly an unbiased observer.
Programming Dynamic Models in Python
http://computationallegalstudies.com/2009/10/11/programming-dynamic-models-in-python/
Uses a simple Susceptible - Infected - Recovered (SIR) model.
I am very interested in adapting this approach for other projects.
Uses a simple Susceptible - Infected - Recovered (SIR) model.
I am very interested in adapting this approach for other projects.
Tuesday, March 1, 2016
Ships in YA4XSG
Ships in YA4XSG (Yet Another 4X Space Game)
Smallest to Largest
Fast Attack Craft (fighter, fighter/bomber, bomber)
Corvette
Frigate
Destroyer
Cruiser
Battleship
Carrier
Dreadnought
Super Dreadnought
Death Star or Star Fortress or something
Smallest to Largest
Fast Attack Craft (fighter, fighter/bomber, bomber)
Corvette
Frigate
Destroyer
Cruiser
Battleship
Carrier
Dreadnought
Super Dreadnought
Death Star or Star Fortress or something
Warlock 2
http://explorminate.net/2016/02/29/monday-modness-warlock-2-renaissance-mod/
I was already interested in this game, and reading about this mod increases my interest.
I was already interested in this game, and reading about this mod increases my interest.
Forgotten Knowledge of the Exiled
https://steamcommunity.com/sharedfiles/filedetails/?id=244988604
Features a deity wheel, where life opposes death, etc.
Rage vs pestilence is similar to Khorne vs. Nurgle in Warhammer lore.
I need to modify this to my own version.
Features a deity wheel, where life opposes death, etc.
Rage vs pestilence is similar to Khorne vs. Nurgle in Warhammer lore.
I need to modify this to my own version.
Star Traders 4X Empires
http://www.pockettactics.com/reviews/review-star-traders-4x/
Very mixed review. I would like to try the game.
Very mixed review. I would like to try the game.
Star Traders 2
http://www.rpgwatch.com/forums/showthread.php?t=31294
I am looking forward to the release, Summer 2016.
I am looking forward to the release, Summer 2016.
Massive Chalice
https://en.wikipedia.org/wiki/Massive_Chalice
It is interesting to note that same-sex marriages were not in the original game design, but were added at the request of kickstarter backers.
It is interesting to note that same-sex marriages were not in the original game design, but were added at the request of kickstarter backers.
Subscribe to:
Posts (Atom)