Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[ANNC] pybotwar-0.8

76 views
Skip to first unread message

Lee Harr

unread,
Aug 15, 2012, 5:08:25 PM8/15/12
to pytho...@python.org, edu...@python.org

pybotwar is a fun and educational game where players
write computer programs to control simulated robots.

http://pybotwar.googlecode.com/


The focus of this release is making all functionality
available from the PyQt interface and making PyQt
the default interface.

pybotwar uses pybox2d for the physical simulation.
It can be run in text-only mode -- useful for longer
tournaments -- or use pyqt or pygame for a graphical
interface and visualization of the action.

pybotwar is released under GPLv3.


Changes in pybotwar-0.8:
    - pybox2d-2.0.2b2 is now the required version

    API
    - Robot.turret() now takes turret speed instead of angle
    - PING sensor now differentiates own bullets from enemy bullets
    - PING differentiates dead robots when remove_dead_robots=False
    - made internal Robot state variables less likely to conflict with user code

    Settings
    - added "robots dir" setting to make it easier to run pybotwar
        from an installed copy, rather than from the unpacked folder
        - logs, lineups, and db all go in robots dir
        - robot modules are now loaded by full path
    - If using Qt settings, remembers most recently used set of robots

    PyQt4 Interface
    - PyQt4 view mode is now the default
        - (text mode and pygame/pygsear still available)
    - all settings are available from PyQt interface
    - remembers most recently used set of robots
    - added debug window showing sensor values, commands, and logs
    - can now start tournaments (and multiple battles) from pyqt
    - can also start tournaments to run in background
    - editor automatically adds .py to robot filename if needed

    Other changes
    - made template.py a valid robot program
    - single battles are now run as 1-battle tournaments
    - renamed kill stat to outlasted
    - started tracking kills as dealing final damage to other robot
    - commandline can now take a list of robots to load
    - added "Super Tournaments"
        - runs tournaments with all possible combinations of robots

    Fixes:
    - made POSition sensor scale same as PING sensor
    - fixed editor backspace between left edge and start of text
    - fixed inability to re-open file once its window was closed
    - fixed crash when cancelling file-open dialog
    - limited motor speed on turret
    - log messages in testmode when using qt4 view
    - fall back to :memory: database if unable to open db file


Jean-Michel Pichavant

unread,
Aug 16, 2012, 5:29:43 AM8/16/12
to Lee Harr, edu...@python.org, pytho...@python.org
I have some suggestions:

- rename pybotwar into pybotcontest
- replace "bullet" by "missile of passion"
- replace "dead" by "overflood with love"
- "PING sensor" into "pheromone sensor"
... and so on :p

JM

Mark Lawrence

unread,
Aug 16, 2012, 11:30:58 AM8/16/12
to pytho...@python.org, edu...@python.org
and "bottom" reads better than "top"

On 16/08/2012 15:37, Ramchandra Apte wrote:
> nah.. "war" sounds better than "contest"
>
> On 16 August 2012 14:59, Jean-Michel Pichavant <jeanm...@sequans.com>wrote:
>
>> Lee Harr wrote:
>>
>>> pybotwar is a fun and educational game where players
>>> write computer programs to control simulated robots.
>>>
>>> http://pybotwar.googlecode.**com/ <http://pybotwar.googlecode.com/>
>> --
>> http://mail.python.org/**mailman/listinfo/python-list<http://mail.python.org/mailman/listinfo/python-list>
>>
>
>
>


--
Cheers.

Mark Lawrence.

MRAB

unread,
Aug 16, 2012, 12:47:31 PM8/16/12
to pytho...@python.org
On 16/08/2012 16:40, Ramchandra Apte wrote:
>
> On 16 August 2012 21:00, Mark Lawrence <bream...@yahoo.co.uk
> <mailto:bream...@yahoo.co.uk>> wrote:
>
> and "bottom" reads better than "top"
>
[snip]
>
> Look you are the only person complaining about top-posting.
> GMail uses top-posting by default.
> I can't help it if you feel irritated by it.
>
I would've complained too if I was going to post a reply to this thread.

Ethan Furman

unread,
Aug 16, 2012, 2:00:57 PM8/16/12
to pytho...@python.org
MRAB wrote:
> On 16/08/2012 16:40, Ramchandra Apte wrote:
>> On 16 August 2012 21:00, Mark Lawrence wrote:
>>>
>>> and "bottom" reads better than "top"
>>
> [snip]
>>
>> Look you are the only person complaining about top-posting.
>> GMail uses top-posting by default.
>> I can't help it if you feel irritated by it.
>>
> I would've complained too if I was going to post a reply to this thread.

Rest assured that in this (bottom-posting vs top-posting) Mark Lawrence
speaks for many of us.

~Ethan~

Dave Angel

unread,
Aug 16, 2012, 3:55:53 PM8/16/12
to Ramchandra Apte, edu...@python.org, pytho...@python.org, Lee Harr
On 08/16/2012 10:37 AM, Ramchandra Apte wrote:
> nah.. "war" sounds better than "contest"
Top-posting yet again?



--

DaveA

Terry Reedy

unread,
Aug 16, 2012, 5:20:29 PM8/16/12
to pytho...@python.org, edu...@python.org
On 8/16/2012 11:40 AM, Ramchandra Apte wrote:

> Look you are the only person complaining about top-posting.

No he is not. Recheck all the the responses.

> GMail uses top-posting by default.

It only works if everyone does it.

> I can't help it if you feel irritated by it.

Your out-of-context comments are harder to understand. I mostly do not
read them.


--
Terry Jan Reedy

Walter Hurry

unread,
Aug 16, 2012, 5:34:25 PM8/16/12
to
It's strange, but I don't even *see* his contributions (I am using a
regular newsreader - on comp.lang.python - and I don't have him in the
bozo bin). It doesn't sound as though I'm missing much.

But I'm just curious. Any idea why that would be the case?

Hans Mulder

unread,
Aug 17, 2012, 8:53:01 AM8/17/12
to
I don't see him either. That is to say: my ISP doesn't have his
posts in comp.lang.python, The group gmane.comp.python.general
on Gname has them. so if you're really curious, you can point
your NNTP client at news.gmane.org.

> But I'm just curious. Any idea why that would be the case?

Maybe there's some kind of filer in the mail->usenet gateway?

HTH,

-- HansM



Prasad, Ramit

unread,
Aug 20, 2012, 7:16:36 PM8/20/12
to pytho...@python.org
>Look you are the only person complaining about top-posting.
>GMail uses top-posting by default.
>I can't help it if you feel irritated by it.

He is most certainly not the only person to feel irritated nor
even the only person who has requested you not to top post.

He does happen to be the most persistent though.

Ramit

This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.

Prasad, Ramit

unread,
Aug 20, 2012, 7:19:13 PM8/20/12
to pytho...@python.org
> I'll be using Google Groups (hopefully it won't top-post by default) to post stuff.

Thanks for not top-posting. Even if it is the default, it is
not difficult to change. :)

Jamie Paul Griffin

unread,
Aug 21, 2012, 3:11:39 AM8/21/12
to pytho...@python.org
[ Ramchandra Apte wrote on Sat 18.Aug'12 at 19:21:03 +0530 ]

> I'll be using Google Groups (hopefully it won't top-post by default) to
> post stuff.

You are encouraged to get used to it i'm afraid as any mailing list you use, its users will prefer you to use the correct formatting of responses.

You can change the settings in Gmail web interface or use an MUA and configure that.

Ramchandra Apte

unread,
Aug 21, 2012, 12:22:48 PM8/21/12
to pytho...@python.org
Enough of OT.

Ramchandra Apte

unread,
Aug 21, 2012, 12:22:48 PM8/21/12
to comp.lan...@googlegroups.com, pytho...@python.org
On Tuesday, 21 August 2012 12:41:39 UTC+5:30, Jamie Paul Griffin wrote:
Enough of OT.
0 new messages