Quantcast
Channel: Command-line Tic-Tac-Toc in Rust - Code Review Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by Caleb Stanford for Command-line Tic-Tac-Toc in Rust

Nicely organized code! In addition to what L.F. suggested:The fn player(self) looks like a questionably useful function; it basically wraps normal pattern matching of an enum type, and since it can...

View Article



Answer by L. F. for Command-line Tic-Tac-Toc in Rust

General impressionThe code is clear and concise —it is a great pleasure to read your code.This review is thus less about problemsthan it is about pointing out opportunities to simplify the code.The...

View Article

Command-line Tic-Tac-Toc in Rust

I implemented Tic-Tac-Toe in Rust to learn the language.I split the implementation into two files: game.rs contains the actual game logic, and main.rs contains the main function and the command-line...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images