"Battleship" style game

Marco Mariani marco at sferacarta.com
Wed Feb 25 11:38:05 EST 2009


Shawn Milochik wrote:

 > I'm not claiming it's bulletproof, but it works. I just kind of came 
up with all the
> methods off of the top of my head, so if anyone has any suggestions
> for more elegant or efficient code, please let me know.

Yes it's in Python alright, but it's not Pythonese yet. You could try 
avoiding the getter/setter stuff, and camelCase method naming, things 
like that, for a start.




More information about the Python-list mailing list