dc-core
DAO.Casino core library
Last updated 2 years ago by altvnv .
GPL-3.0 · Original npm · Tarball · package.json
$ cnpm install dc-core 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.1.45                                ...           latest (2 years ago)

23 Versions

  • 0.1.45                                ...           2 years ago
  • 0.1.37                                ...           2 years ago
  • 0.1.25                                ...           2 years ago
  • 0.1.24                                ...           2 years ago
  • 0.1.22                                ...           2 years ago
  • 0.1.21                                ...           2 years ago
  • 0.1.19                                ...           2 years ago
  • 0.1.18                                ...           2 years ago
  • 0.1.17                                ...           2 years ago
  • 0.1.16                                ...           2 years ago
  • 0.1.15                                ...           2 years ago
  • 0.1.14                                ...           2 years ago
  • 0.1.13                                ...           2 years ago
  • 0.1.12                                ...           2 years ago
  • 0.1.7                                ...           2 years ago
  • 0.1.6                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 1.0.2 [deprecated]           ...           2 years ago
  • 0.3.0 [deprecated]           ...           2 years ago
  • 1.0.0 [deprecated]           ...           2 years ago
  • 1.0.1 [deprecated]           ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (10)
Dev Dependencies (3)

Copyright 2014 - 2016 © taobao.org |