Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jamessizeland/tauri-chess
- Owner: jamessizeland
- License: apache-2.0
- Created: 2022-06-08T22:07:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-09T15:31:52.000Z (3 months ago)
- Last Synced: 2024-08-10T16:25:42.559Z (3 months ago)
- Topics: chess, react, rust, tauri, tauri-app, typescript
- Language: TypeScript
- Homepage:
- Size: 11.5 MB
- Stars: 17
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-tauri - Tauri Chess - Implementation of Chess, logic in Rust and visualization in React. (Applications / Gaming)
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)