Welcome to the Rust-Svelte Chess App v2! This is an open-source project that combines the power of Rust for the backend, Svelte for the frontend, and TypeScript for type-safe interactions. This app allows users to play chess against bots, giving them an enjoyable and interactive gaming experience.
With this app, you can program your own bot and engage in fierce competition against either my bot or a human player. In the forthcoming versions, you'll be empowered to upload and store bots fashioned by other users.
-
Backend: The server-side of the application is built using Rust, a systems programming language known for its performance and safety features.
-
Frontend: The user interface is built with Svelte, a modern JavaScript framework that compiles components to highly efficient vanilla JavaScript.
-
TypeScript: TypeScript is used to add static typing to JavaScript, providing enhanced development tools and reducing errors.
The design is very simple, which makes it easier to overview and navigate through the app. The app consists of three windows:
- The bot selection menu
- The chessboard where the moves are visualized
- The chess notation
You can find screenshots from the app here.
- Clone the repository:
git clone https://github.com/jiri132/ChessApp_V2.git
- Navigate to the backend directory:
cd src-tauri/src/
and runcargo run
to start the Rust backend server. - Open another terminal window, navigate to the frontend directory:
cd src
and run the following commands:npm install
to install the required frontend dependencies.npm run dev
to start the Svelte development server.
The app should now be running and accessible at http://localhost:5000
.
We welcome contributions to improve the Rust-Svelte Chess App! If you'd like to contribute, please follow the steps in the
Contribute.md
file.
This project is licensed under the GPL-3.0 license. See
LICENSE
.
This project was inspired by the love for chess and the desire to learn and collaborate on new technologies.
This guide is also available in other languages: