Skip to content

An TUI implementation of the Checkers game in Rust, using ratatui and renet.

Notifications You must be signed in to change notification settings

bragg13/checkeRS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

checkeRS

A (PoC) Rust implementation of the board game checkers.

image

The game is not complete; in fact, it was intended only as a way to get familiar with Rust, TUIs (ratatui in this case), and Client-Server multiplayer gaming (with renet).

I took free inspiration from this post by Herluf-ba.

Example video

Roadmap:

  • TUI drawing

  • Checkboard grid, pawns with different colors

  • Pawn movement (simple, eating)

  • Client-server communication implementation

  • Main menu to select name and address

  • Winning logic

  • Pawn getting crowned

  • Better scene management (eg. restart game, go to menu,...)

How to run:

  1. First, you need to run the server
cargo run --bin server
  1. Then, you can open up another terminal to launch the client
cargo run --bin client

From the main menu, you can selected your username and the address to connect to. There is no lobbying system for now, so each server can only handle one game at the moment.

About

An TUI implementation of the Checkers game in Rust, using ratatui and renet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages