Nondigestible Purple Mayonnaise

    @daocasino/dc-core
    TypeScript icon, indicating that this package has built-in type declarations

    0.2.8 • Public • Published

    This repository stores source code that implements logic behind core solution elements. Actual source files are stored in the src folder. src/index.ts file interacts with other files from this folder.

    • ChannelState.ts contains the channel state change logic during a game session. It indicates when a state is changed and how the parties approve it.
    • DApp.ts contains the general game logic.
    • DAppDealerInstance.ts and DAppPlayerInstance contain the code applied to create and run a specific game instance (session) - bankroller and player side- according to the general workflow from game initialization when a channel is created, through bankroller and player account checks and despositing, actual gambling process, result computation and distribution of funds. Note that this file
    • GlobalGameLogicStore.ts
    • ChannelState.ts stores the logic behind state change during a game.
    • RSA.ts implements the encryption logic.

    The index.ts file in the root folder of this repository imports the resulting configuration from the src/index.ts.

    Keywords

    none

    Install

    npm i @daocasino/dc-core

    DownloadsWeekly Downloads

    4

    Version

    0.2.8

    License

    GPL-3.0

    Unpacked Size

    158 kB

    Total Files

    76

    Last publish

    Collaborators

    • whilesocold
    • dao-credentials
    • mixbytesgovyazin
    • algys
    • garik-