All Projects → aykutkardas → ymir-js

aykutkardas / ymir-js

Licence: other
This toolkit is created to make it easier for you to develop games like chess, checkers, go, match 3 puzzle and more. It is still under development.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to ymir-js

blog
个人博客,关注前端工程化及移动端
Stars: ✭ 17 (-43.33%)
Mutual labels:  toolkit
liPGN
This program uses the lichess REST API to retrieve all the games of a user and transform them into a big PGN file that you can then import into your favourite game analysis tool (ie. scid)
Stars: ✭ 14 (-53.33%)
Mutual labels:  chess
hackarsenaltoolkit
Hacking arsenal. This script download the latest tools, wordlists, releases and install common hacking tools
Stars: ✭ 39 (+30%)
Mutual labels:  toolkit
nightingale
NHS-Generic Frontend Framework.
Stars: ✭ 34 (+13.33%)
Mutual labels:  toolkit
IMS-Toucan
Text-to-Speech Toolkit of the Speech and Language Technologies Group at the University of Stuttgart. Objectives of the development are simplicity, modularity, controllability and multilinguality.
Stars: ✭ 295 (+883.33%)
Mutual labels:  toolkit
Torch-Scope
A Toolkit for Training, Tracking, Saving Models and Syncing Results
Stars: ✭ 62 (+106.67%)
Mutual labels:  toolkit
Chess.js
A Javascript chess library for chess move generation/validation, piece placement/movement, and check/checkmate/draw detection
Stars: ✭ 2,557 (+8423.33%)
Mutual labels:  chess
pgn-tactics-generator
Generate chess puzzles / tactics from a pgn file
Stars: ✭ 83 (+176.67%)
Mutual labels:  chess
sinling
A collection of NLP tools for Sinhalese (සිංහල).
Stars: ✭ 38 (+26.67%)
Mutual labels:  toolkit
rails console toolkit
Configurable Rails Console Helpers
Stars: ✭ 19 (-36.67%)
Mutual labels:  toolkit
php-chess
A chess library for PHP.
Stars: ✭ 42 (+40%)
Mutual labels:  chess
design-react-kit
A React toolkit that implements the Italia design system
Stars: ✭ 134 (+346.67%)
Mutual labels:  toolkit
cocol
Rapid blockchain prototyping
Stars: ✭ 19 (-36.67%)
Mutual labels:  toolkit
chess-api
Chess API: REST API for playing chess and storing highscores
Stars: ✭ 39 (+30%)
Mutual labels:  chess
Chess.NET
[No longer maintained] A .NET chess library, written in C#
Stars: ✭ 48 (+60%)
Mutual labels:  chess
dt-utils
前端常用工具函数
Stars: ✭ 23 (-23.33%)
Mutual labels:  toolkit
protochess
Online multiplayer chess website that lets you build custom pieces/boards. Written in Svelte + Rust.
Stars: ✭ 95 (+216.67%)
Mutual labels:  chess
Match3Kit
Library for simple Match3 games.
Stars: ✭ 38 (+26.67%)
Mutual labels:  match3
fastchess
Predicts the best chess move with 27.5% accuracy by a single matrix multiplication
Stars: ✭ 75 (+150%)
Mutual labels:  chess
Zerofish
An implementation of the AlphaZero algorithm for chess
Stars: ✭ 34 (+13.33%)
Mutual labels:  chess

ymir-js

This toolkit is created to make it easier for you to develop games like chess, checkers, go, match 3 puzzle and more. It is still under development.

Create Board

const board = new Board({ x: 3, y: 3 });

Set Item

const item = new Item({ name: 'myFirstItem' });
board.setItem('0|0', item);

Get Item

board.getItem('0|0');
// => { name: 'myFirstItem', ... }

Move Item

board.moveItem('0|0', '1|1');

Remove Item

board.removeItem('1|1');

Switch Item

const firstItem = new Item({ name: 'myFirstItem' });
const secondItem = new Item({ name: 'mySecondItem' });

board.setItem('0|0', firstItem);
board.setItem('1|1', secondItem);

board.switchItem('0|0', '1|1');

board.getItem('0|0');
// => { name: 'mySecondItem', ... }

board.getItem('1|1');
// => { name: 'myFirstItem', ... }

Empty Control

board.isEmpty('2|2');
// => true

Exist Control

const board = new Board({ x: 3, y: 3 });

board.isExistCoord('5|5');
// => false

Get Matrix

board.getBoardMatrix();

/* => 
[
  [{ item }, { item }, { item }], 
  [{ item }, { item }, { item }], 
  [{ item }, { item }, { item }]
]
*/

Roadmap

Name Status Link
Turkish Checkers WIP Source
International Checkers WIP Source
Chess - -
Match 3 Puzzle - -
Go - -

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].