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

[TicTacToe] Add a GUI #2

Open
mattiadg opened this issue Oct 8, 2018 · 11 comments
Open

[TicTacToe] Add a GUI #2

mattiadg opened this issue Oct 8, 2018 · 11 comments
Labels
enhancement New feature or request good first issue Good for newcomers Hacktoberfest Nice PR for Hacktoberfest

Comments

@mattiadg
Copy link
Owner

mattiadg commented Oct 8, 2018

It would be nice to have a GUI for TicTacToe.
If you are keen on GUI with C++ or also in Javascript, please feel free to contribute.

@mattiadg mattiadg added enhancement New feature or request good first issue Good for newcomers Hacktoberfest Nice PR for Hacktoberfest labels Oct 8, 2018
@mattiadg mattiadg changed the title GUI for TicTacToe [TicTacToe] Add a GUI Oct 8, 2018
@fallazc
Copy link

fallazc commented Oct 10, 2018

If you are open to Java, it would be far easier to write it with one of Java's built-in GUI frameworks.

@mattiadg
Copy link
Owner Author

It's fine for me, but I think that in the cases of languages different from C++ we need to refactor the code in a client/server fashion.

@fallazc
Copy link

fallazc commented Oct 11, 2018

You are right, I will tackle issue #4 and see where I can go from there.

@DeveloperPaul123
Copy link
Contributor

Are you open to a Qt5 C++ GUI?

@fallazc
Copy link

fallazc commented Oct 14, 2018

I was thinking of sfml instead as Qt is quite heavy.

@DeveloperPaul123
Copy link
Contributor

Qt may be "heavy" but it also has more features. @mattiadg What do you think?

@fallazc
Copy link

fallazc commented Oct 14, 2018

I already started to write the netcode using sfml which is why I suggested to also write the GUI using sfml. I don't mind working with either but having to install ~1Gb framework for such simple game seems overkill to me.

@DeveloperPaul123
Copy link
Contributor

If it's just for tic tac toe, then yes, I could see how it would be overkill. But using something like qt5 could be nice if you want 1 GUI for all the games.

@mattiadg
Copy link
Owner Author

It would be nice to have GUIs for all the games, and a unified interface for all the games would be even better, as far as somebody continues to work on it.
I would consider the client/server architecture more versatile because it also let us to connect to existing GUIs, for example for Chess there are GUIs compatible with multiple engines that implement a protocol, e.g. arena.

@DeveloperPaul123
Copy link
Contributor

So in that case it sounds like it might be best to stick to a client/server architecture for now and add bindings to front ends as needed whether that be sfml or Qt5 or whatever else is out there.

@mattiadg
Copy link
Owner Author

Yes, I agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers Hacktoberfest Nice PR for Hacktoberfest
Projects
None yet
Development

No branches or pull requests

3 participants