This is a submission for /
How I Built It
My background is mostly front end, so that was pretty straightforward for me. The most difficult part was figuring out how to link to the DDS double dummy bridge engine. I went with Electron and GYP as a wrapper, linking the HTML/CSS/JavaScript frontend with the Node.js runtime environment as well as the C++ code on the backend. The backend also calls from the DDS bridge solver written by Bo Haglund and updated by Soren Hein and Martin Nygren. I made sure to credit them on my GitHub repo along with posting a copy of the Apache 2.0 License.
At first, I tried downloading the necessary files from the DDS GitHub repo, but that was very time-consuming due to the amount of dependencies and header files needed to make them work. Google was helpful in determining the best way was to just download the .dll and .lib files from the source and put them in my project folder. Along with the binding.gyp, adddon.cpp, and dds_clean.h files, that was enough to tie it all together and make the app work.
I didn't really use AI coding agents except for the version of Gemini that comes with the Google search engine. Gemini was helpful with debugging the C++ wrappers that helped connect the front end to the DDS engine, but I had to ensure that I prompted it correctly. My knowledge of C++ is limited compared to HTML, CSS, JavaScript, and PHP, so I had to read the console error messages carefully to know what to look for. The biggest problem I had was when I would make changes to the code and then there would be errors thrown by Node trying to interact with the C++ compiler.
While this submission was certainly a challenge, I enjoyed seeing a desktop app come to life in a matter of hours, even though it is very basic and has plenty of room for improvement. It pushed me out of my frontend comfort zone, although I got to have plenty of fun doing that as well. Thanks for reading.
Community-Analysen & Experten-Meinungen 0
Verwandte Story-Cluster & Quellen (Vektor-KI)
Ähnliche Beiträge
Auch interessante Nachrichten Building a Bridge Desktop App for Windows
Thematisch verwandte Begriffe: Building, Bridge, Desktop, Windows · 6 Treffer
[webapps] Bludit CMS 3.20.0 - Reflected Cross-Site Scripting
WinVisor – A hypervisor-based emulator for Windows x64 user-mode executables
Reverse Engineering Windows Security Center
Microsoft just stumbled onto a way to fix Windows 11, but it hasn't realized it yet
Tengu, a Mirai-style Linux and IoT botnet
Videos werden geladen ...
Beiträge werden geladen ...
Videos werden geladen ...
Beiträge werden geladen ...
Videos werden geladen ...
Beiträge werden geladen ...
Videos werden geladen ...
Beiträge werden geladen ...
Videos werden geladen ...
SOCIAL SHARE CARD GENERATOR