No description
src | ||
.gitignore | ||
Cargo.toml | ||
LICENSE | ||
README.md |
Connect four
What is it ?
This is simply my version of connect four, for the moment the only way to win is to line up 4
tokens vertically or horizontally you can win by lining up 4 tokens in a row, column or
diagonal.
Build
You can build the project by running the following command:
cargo build --release
Usage
You can run the game by running the following command:
cargo run -- -h # to see the help
Roadmap
- Check if the tray is full.
- Check if there is a winner vertically and horizontally.
- Check if there is a winner diagonally.
- Be able to start a game where the computer plays against itself with random moves.
- Be able to launch a certain number of games and collect in a table the number of victories corresponding to each player and the equality.
- Be able to parallelize the launch of parts in threads.
- To be able to play a move by entering only the column.
- Being able to play a game with someone else.
- To be able to play a game against the computer (but just random hits).