Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jamessizeland/tauri-chess

Experiment with tauri passing data from rust to javascript - building a chess app
https://github.com/jamessizeland/tauri-chess

chess react rust tauri tauri-app typescript

Last synced: 3 months ago
JSON representation

Experiment with tauri passing data from rust to javascript - building a chess app

Awesome Lists containing this project

README

        

# Tauri Chess App

Experiment with tauri passing data from rust to javascript, by creating a chess app where all of the logic is done in Rust and just the frontend is done in TypeScript React.

## Try It Out!

**Requirements**

- [git](https://git-scm.com/)
- [rust](https://www.rust-lang.org/)
- [node](https://nodejs.org/)
- [yarn](https://yarnpkg.com/getting-started/install)

Use these steps to run and see the magic for yourself!

1. `git clone https://github.com/jamessizeland/tauri-chess.git`
2. `cd tauri-chess`
3. `yarn`
4. `yarn tauri dev`

## UI Basics

![Chess UI](./img/move_logic2.gif)

## Moves

![Chess Moves](./img/take_logic.gif)

## Turns

![Chess Turns](./img/turns_logic.gif)

## Checking

![Check and Mate](./img/check_mate_logic.gif)

## Special Moves

### Enpassant, Promoting & Castling

![Enpassand Promoting and Castling](./img/enpassant-promote-castle.gif)