Planning on creating a KDE-based online boardgame platform

Hi there! I have plan on developing a new QtQuick/Kirigami-based online boardgame app. Roughly to say, it will use libgit2 to fetch git repos (use Git repo as extension package, just like neovim), use lua as scripting language and KDE libs for GUI.

Does anyone interested in this? For now the first step is to come up with a good name, any replies are welcomed!

Just as a note/comment: since a QtQuick application already has access to a JavaScript engine, you could use it also for scripting.

1 Like

I don’t think I will use Qml/JS as server side script, maybe for gui scripting. User-created boardgame extensions should be able to tweak its own GUI​:smiley:
However it’s usually considered as bad to include QT deps in server. Maybe I’ll create simple integrated server using Qt network and more powerful server build using other.

Anyway I have a simple overall design now, let me create repo these days. Perhaps it will be called as KTableTop, or similar things

Ah, it wasn’t clear from your message that lua was for the server.
It just sounded like an extra dependency for the QtQuick app to have yet another scripting engine.

yes it’s not that hard. The hard point is network protocol and design for the base classes, like the overall boardgame class, game state and game rule… By the way I plan to rely very heavily on Lua, both client and server, Lua coroutine works very well with Qt event loop!

I don’t if it makes sense that writting GUI bussiness logic code in Lua and notify QML gui with an universal qt signal. For extensibily with full scripting this might should be thinked again

I would recommend to get in touch with the KDE Games community, they might have some of those already and share between their applications via libkdegames

Thanks for your information! I might not use QWidgets but this lib is still very useful, and I can learn more. It will be better if there’s any matrix room of kde games

I am pretty sure that some of the other games are also using QtQuick rather than QtWidgets.

There is https://go.kde.org/matrix/#/#kde-games:kde.org

There is 0 people(s) in that matrix room. Shall I send mail to the developers?

I only played kpat for a long time before because others weren’t very attractive to me​:thinking:however I will do a deeper investigation on their code base

Yes, good idea.

And/or check on the kde-devel channel.

OK I’ll do both. Thanks for your advice!

OK I finished my design documentation, sorry for broken English: Overall design before coding (#1) · Tasks · notify ctrl / KTableTop · GitLab