monicanagent / cypherpoker.js

An open source peer-to-peer poker platform with cryptocurrency integration written in JavaScript.
MIT License
104 stars 42 forks source link

Add desktop application support via Electron #31

Closed monicanagent closed 5 years ago

monicanagent commented 5 years ago

Combine existing web and server components of CypherPoker.JS into a single, standalone desktop Electron application.

Ideally the desktop code will reside in a desktop folder and load both (web and server) components from their current locations so that desktop builds pick up the latest changes. If this is not possible then the code should either be copied prior to each build (which is not be ideal due to the copy time requirements and possible conflicts), or the desktop code may need to exist at a higher level (also less than ideal since it makes the folder structure less clear).

Additional investigation will need to be done to determine differences between Windows, MacOS, and Linux builds:

Update this issue with additional findings or questions.

monicanagent commented 5 years ago

Updated in revision 113 (https://github.com/monicanagent/cypherpoker.js/commit/a3a68f227bdca7a22995ff4a8b1de6c54e5e7c65).

Native desktop support now implemented and tested in WIndows 10. A local SQLite 3 database and custom adapter is used instead of a remote or in-memory one--though both can still be used.

In addition: