Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added mouse and colour support to Game of Life curses demo #54734

Closed
DafyddCrosby mannequin opened this issue Nov 25, 2010 · 4 comments
Closed

Added mouse and colour support to Game of Life curses demo #54734

DafyddCrosby mannequin opened this issue Nov 25, 2010 · 4 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@DafyddCrosby
Copy link
Mannequin

DafyddCrosby mannequin commented Nov 25, 2010

BPO 10525
Nosy @orsenthil
Files
  • mouse_and_colour.diff: Patch to add mouse and colour support to Game of Life demo
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2010-11-25.14:57:48.371>
    created_at = <Date 2010-11-25.05:44:19.433>
    labels = ['type-bug']
    title = 'Added mouse and colour support to Game of Life curses\tdemo'
    updated_at = <Date 2010-11-25.14:57:48.369>
    user = 'https://bugs.python.org/DafyddCrosby'

    bugs.python.org fields:

    activity = <Date 2010-11-25.14:57:48.369>
    actor = 'orsenthil'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-11-25.14:57:48.371>
    closer = 'orsenthil'
    components = ['Demos and Tools']
    creation = <Date 2010-11-25.05:44:19.433>
    creator = 'Dafydd.Crosby'
    dependencies = []
    files = ['19817']
    hgrepos = []
    issue_num = 10525
    keywords = ['patch']
    message_count = 4.0
    messages = ['122332', '122334', '122362', '122365']
    nosy_count = 2.0
    nosy_names = ['orsenthil', 'Dafydd.Crosby']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue10525'
    versions = ['Python 3.2']

    @DafyddCrosby
    Copy link
    Mannequin Author

    DafyddCrosby mannequin commented Nov 25, 2010

    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 ;-)

    @DafyddCrosby DafyddCrosby mannequin added the type-bug An unexpected behavior, bug, or error label Nov 25, 2010
    @orsenthil
    Copy link
    Member

    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 )

    @orsenthil orsenthil changed the title Added mouse and colour support to Game of Life curses demo Added mouse and colour support to Game of Life curses demo Nov 25, 2010
    @DafyddCrosby
    Copy link
    Mannequin Author

    DafyddCrosby mannequin commented Nov 25, 2010

    Sounds like an awesome idea.

    The new patch now coloured cells :-)

    @orsenthil
    Copy link
    Member

    Committed in r86750. Thank you!

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant