Skip to content

superkidsyuvan/rusty-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess! ♟️ (again)

Chess but in Rust and its not a single file and its really bad and suboptimal!

idk why i did this but like i was learning rust and thought this would be rlly funi

ummm im kinda lazy so its just this git repo but rust

yet again, like no ✨fancy moves✨ just pawn promotion... and castling

imagine looking at alt text (couldn't be me)

Version

dont even ask at this point like 😭😭😭

Portability and platform support

idk even know what i just said but here's where things get interesting...

Windows (my beloved)

hi so this is this but windows and its the only os i care about so like yeah

EZ and beta simple single file .exe (non editable)

like go here and download the .exe file (i think it auto-starts but idk), then double click the downloaded file to play rusty chess

Really Hard but Gigachad Alpha Male way to get cool editable open-source code thinge

download rust (the coolness here) and select "standard installation"

also download the latest version of git (just incase)

yay you did it... now, like, go to your designated folder place for weird git repos like this, go to the weird thinge up top with the directory path and type "cmd" (as below). It'll open command prompt in the directory you were just in! (who would've thought?!) (also copy and paste below if ya real lazy)

cmd

I really need a graphic designer 😥

then like do the cool thing where you actually clone the repo... (copy and paste into the cmd line, cmd below)

git clone https://github.com/superkidsyuvan/rusty-chess.git

after like waiting three seconds, it should've downloaded the git repo (make sure you have a internet connection)

now let's slide into my git repo's DM's by like copy-pasting the really intuitive and complex cmd below

cd ./rusty-chess

yay! now we're in the workplace and we can run the actually complex cmd (it might take awhile ~20min on when you first compile it but after it's finished compiling, you should have a working and open-source/editable chess game in rust!)

make sure to add the following to the cargo.toml file (if not there/different)

[package]
name = "rusty-chess"
version = "0.1.0"
edition = "2021"

[dependencies]
bevy = "0.14.2"
winit = "0.30.5"
image = "0.25.5"

[build-dependencies]
embed-resource = "1.6.3"

[features]
console = []

ok now run it 😈

cargo run --color=always --profile dev --package rusty-chess --bin rusty-chess --features console

Hint: remove the --features console from the cmd to remove the console!

click the big mean X in the corner to close the epic rust gaming thinge

LICENSE

hamburger 🍔🍔

About

because they said it would be blazingly fast.. (its not)

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors