Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45853
| Return-Path | <python-python-list@m.gmane.org> |
|---|---|
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'programmer': 0.03; 'url:pypi': 0.03; 'board.': 0.05; 'subject:Python': 0.06; 'hettinger': 0.07; 'table.': 0.07; 'abstraction': 0.09; 'enormous': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'yeah,': 0.09; 'dice': 0.16; 'etc.),': 0.16; 'finney': 0.16; 'guessing': 0.16; 'lisp': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'simulate': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'library': 0.18; 'trying': 0.19; 'pieces': 0.19; 'subject:project': 0.19; 'header :User-Agent:1': 0.23; "i've": 0.25; 'right.': 0.26; 'tables': 0.26; 'header:X-Complaints-To:1': 0.27; 'chris': 0.29; "i'm": 0.30; 'usually': 0.31; 'subject:that': 0.31; 'writes:': 0.31; 'allows': 0.31; 'class': 0.32; 'figure': 0.32; 'regular': 0.32; 'up.': 0.33; 'url:python': 0.33; 'subject:the': 0.34; 'could': 0.34; 'board': 0.35; 'but': 0.35; 'there': 0.35; "didn't": 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'application': 0.37; 'ben': 0.38; 'to:addr:python-list': 0.38; 'anything': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'even': 0.60; 'skip:u 10': 0.60; 'guy': 0.60; 'reach': 0.63; 'hear': 0.63; 'skip:n 10': 0.64; 'different': 0.65; 'cards': 0.65; 'power': 0.76; 'ages': 0.84; 'ambition': 0.84; 'games.': 0.84; 'intrigued': 0.84; 'mechanics': 0.84; 'playable': 0.84; 'resulted': 0.84; 'subject:made': 0.84; 'teenage': 0.84; 'subject:you': 0.87; 'fun!': 0.93 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Ben Finney <ben+python@benfinney.id.au> |
| Subject | Re: What was the project that made you feel skilled in Python? |
| Date | Fri, 24 May 2013 09:32:38 +1000 |
| References | <5198B7E9.7050505@nedbatchelder.com> <7w61ybdv0p.fsf@benfinney.id.au> <CAPTjJmr0n71wtST=ChcHJMDp6dE6CaUdZyVi4yAqp+XV47EbHA@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | rasputin.madmonks.org |
| X-Public-Key-ID | 0xBD41714B |
| X-Public-Key-Fingerprint | 9CFE 12B0 791A 4267 887F 520C B7AC 2E51 BD41 714B |
| X-Public-Key-URL | http://www.benfinney.id.au/contact/bfinney-gpg.asc |
| X-Post-From | Ben Finney <bignose+hates-spam@benfinney.id.au> |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
| Cancel-Lock | sha1:3i/D93mMe92ZNEaoruL7jDHplFg= |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2044.1369351979.3114.python-list@python.org> (permalink) |
| Lines | 40 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1369351979 news.xs4all.nl 15980 [2001:888:2000:d::a6]:39851 |
| X-Complaints-To | abuse@xs4all.nl |
| Path | csiph.com!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder5.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
| Xref | csiph.com comp.lang.python:45853 |
Show key headers only | View raw
Chris Angelico <rosuav@gmail.com> writes: > Ben Finney <ben+python@benfinney.id.au> wrote: > > This resulted in a library for rolling dice in different > > combinations, and looking up result tables > > <URL:https://pypi.python.org/pypi/alea>. > > Fun fun! Of course, when I hear "rolling dice in different > combinations", my mind immediately turns to Dungeons and Dragons, > where it's plausible to roll d20+7, then roll 2d8+d6+12 to figure out > how much damage you did... Yeah, and lots of board games use custom dice with faces specific to that game (symbols, non-consecutive numbers, etc.), so the Die class allows the faces to be any object the application needs. > But the hard part of board games is usually the board. A lot of the board games I'm intrigued by don't have much of a board; they use custom cards and tokens and (maybe) dice, and the “board” is an abstraction of where all the pieces are on the table. > I used to spend ages trying to draw up a half-decent board, and ended > up giving up. By "simulate", I'm guessing you mean that you didn't > actually draw anything of the sort? Right. The (never completed) application was to simulate the mechanics of that particular game so I could see how it would play out, not be an interactive playable game. I've long been aware there is an enormous amount of UI-programming work involved with interactive playable games. My ambition for that work was quenched from attempting it in my teenage years :-) -- \ “With Lisp or Forth, a master programmer has unlimited power | `\ and expressiveness. With Python, even a regular guy can reach | _o__) for the stars.” —Raymond Hettinger | Ben Finney
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: What was the project that made you feel skilled in Python? Ben Finney <ben+python@benfinney.id.au> - 2013-05-24 09:32 +1000
csiph-web