Skip to content

Add chat to online game#40

Merged
trevorbayless merged 8 commits into
trevorbayless:masterfrom
prankware-code:online-chat
Apr 26, 2026
Merged

Add chat to online game#40
trevorbayless merged 8 commits into
trevorbayless:masterfrom
prankware-code:online-chat

Conversation

@prankware-code
Copy link
Copy Markdown
Contributor

@prankware-code prankware-code commented Apr 1, 2026

With stockfish:
image

With a random user:
image
image

Related to #12

class OnlineGameView(PlayableGameViewBase):
def __init__(self, presenter: OnlineGamePresenter):
self.presenter = presenter
self.chat_container = presenter.chat_presenter.view
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chat is only needed in online play.

@prankware-code
Copy link
Copy Markdown
Contributor Author

I'll try to fix this later

@trevorbayless
Copy link
Copy Markdown
Owner

trevorbayless commented Apr 8, 2026

I'll try to fix this later

Thanks - and my apologies for the delay and having the workflow blocked. I'll get that setting updated to allow workflows to run without approval.

@trevorbayless
Copy link
Copy Markdown
Owner

After checking out the branch and attempting to start an online game, I get the following error with the changes this brings in: Exception 'OnlineGamePresenter' object has no attribute 'chat_presenter'.

@prankware-code
Copy link
Copy Markdown
Contributor Author

I think we need tests for the new functionality here)

@prankware-code
Copy link
Copy Markdown
Contributor Author

I think we need tests for the new functionality here)

I'll do it later

@prankware-code
Copy link
Copy Markdown
Contributor Author

I think we need tests for the new functionality here)

I'll do it later

Done

@prankware-code
Copy link
Copy Markdown
Contributor Author

image tests are already in pipelines

@prankware-code
Copy link
Copy Markdown
Contributor Author

@trevorbayless, hi, can u approve it, please?

@trevorbayless trevorbayless merged commit e1181e5 into trevorbayless:master Apr 26, 2026
13 checks passed
@trevorbayless
Copy link
Copy Markdown
Owner

Thank you for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants