This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Added mouse and colour support to Game of Life curses demo
Type: behavior Stage: resolved
Components: Demos and Tools Versions: Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Dafydd.Crosby, orsenthil
Priority: normal Keywords: patch

Created on 2010-11-25 05:44 by Dafydd.Crosby, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
mouse_and_colour.diff Dafydd.Crosby, 2010-11-25 14:42 Patch to add mouse and colour support to Game of Life demo
Messages (4)
msg122332 - (view) Author: Dafydd Crosby (Dafydd.Crosby) Date: 2010-11-25 05:44
I was just going through the source of the curses demo Game of Life (life.py), and saw that the TODO had mouse support and colour.

I created a patch that adds those two wishlist items. Given that mouse support and the use of curses.flash() are missing from the demo programs, I think it's a bit of an upgrade ;-)
msg122334 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2010-11-25 06:11
On Thu, Nov 25, 2010 at 05:44:21AM +0000, Dafydd Crosby wrote:
> I created a patch that adds those two wishlist items. Given that
> mouse support and the use of curses.flash() are missing from the
> demo programs, I think it's a bit of an upgrade ;-)
> 

Pretty cool. Do you think, the '*' themselves should be colored or
randomly colored? ( No, I have not seen a Game of 'Random-Colored' life )
msg122362 - (view) Author: Dafydd Crosby (Dafydd.Crosby) Date: 2010-11-25 14:42
Sounds like an awesome idea.

The new patch now coloured cells :-)
msg122365 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2010-11-25 14:57
Committed in r86750. Thank you!
History
Date User Action Args
2022-04-11 14:57:09adminsetgithub: 54734
2010-11-25 14:57:48orsenthilsetstatus: open -> closed
versions: + Python 3.2
messages: + msg122365

resolution: fixed
stage: resolved
2010-11-25 14:43:00Dafydd.Crosbysetfiles: - mouse_and_colour.diff
2010-11-25 14:42:49Dafydd.Crosbysetfiles: + mouse_and_colour.diff

messages: + msg122362
2010-11-25 06:11:31orsenthilsetnosy: + orsenthil
title: Added mouse and colour support to Game of Life curses demo -> Added mouse and colour support to Game of Life curses demo
messages: + msg122334
2010-11-25 05:44:19Dafydd.Crosbycreate