Skip to content

Khmer Chess Javascript library to simulate chess board

License

Notifications You must be signed in to change notification settings

raksa/khmer-chess-board.js

 
 

Repository files navigation

khmer-chess-board.js

Khmer Chess Javascript library to simulate chess board

Build with

khmer-chess

k4us-share

Screen Shot 2021-02-27 at 5.49.22 PM (KhmerChessBoard 1.0.13):

alt text

Importing

  • npm i -D khmer-chess-board

Importing

import { KhmerChessBoard } from 'khmer-chess-board';
// React
import { KhmerChessBoardComp } from 'khmer-chess-board';
const { KhmerChessBoard } = require('khmer-chess-board');
// React
const { KhmerChessBoardComp } = require('khmer-chess-board');
  • Web:
<script src="khmer-chess-board/dist/khmer-chess-board.bundle.js"></script>
<script>
    console.log(KhmerChessBoard.version);
    // React
    console.log(KhmerChessBoardComp.version);
</script>

Run

> npm i
> npm start

Build

> npm i
> npm run build

Licence

MIT

About

Khmer Chess Javascript library to simulate chess board

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 90.7%
  • HTML 6.2%
  • JavaScript 2.9%
  • Shell 0.2%