Skip to content

Need some help implementing interactive TicTacToe game #160

Closed
@SnShine

Description

@SnShine

Hey everyone,

I am trying to implement interactive TTT game and stuck at a problem. I have completed till this far (Taking user input by clicking on blocks).

You can view the source at https://github.com/SnShine/aima-python/commits/addInteractiveTTT (last three commits).
Is there any way to execute a python method after getting user_input from html onclick event. I can execute python commands from Python.notebook.kernel but unable to pass methods here.

Any idea how to do it? TIA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions