GitXplorerGitXplorer
d

quarto_rs

public
1 stars
2 forks
0 issues

Commits

List of commits on branch main.
Verified
f07db3ad052ff89df8863914899b0eacf8422d4e

Add info how to install on NetBSD (#3)

00323pin committed a year ago
Verified
fb9a5e352b390385391280d94a59acb0b10b64df

Merge pull request #2 from domenukk/const_err

ddomenukk committed a year ago
Unverified
3fed9b632f751b6f06e98b17d8fbf52693a3892a

Removed const_err deny

ddomenukk committed a year ago
Verified
427c710d28163ef312351fda2ec7b8a63a41deb6

Update README.md

ddomenukk committed a year ago
Unverified
b88b242f1cbab4180ff0762864041dfcdb38b656

move readme

ddomenukk committed a year ago
Unverified
fa6f3a252392dde00e4ffecf6da5567e428bc546

CI

ddomenukk committed a year ago

README

The README file for this repository.

Quarto-rs

Your friendly Quarto game.

Install using cargo install quarto or clone this repo and cargo run

On NetBSD, a package is available from the official repositories. To install it, simply run pkgin install quarto.

Quarto In-Game Screenshot

The game is played on a 4x4 board with 16 pieces. Each piece has four distinct characteristics: size (large/✋ or small/🤏), color (light/⬜ or dark/⬛), shape (round/🟠 or square/🔶), and fill (filled/🔴 or hollow/⭕). On your turn, you choose one of the 16 pieces and give it to your opponent. Your opponent then places that piece on any empty space on the board.

The first player to create a row of four pieces with at least one matching characteristic wins the game. Matching characteristics can be in any direction, horizontally, vertically, or diagonally. In the harder square mode, (-q), a square of 4 is also considered a win.

If all 16 pieces have been placed and there is no winner, the game is a tie.

Usage: {current_exe_name} <Options>

Options:
    --square-mode|-q:   Enable harder rules: not only 4 of the same in a row,
                        but also a square of 4 is considered a win.
    --base0|-0:         Starts to count at 0 instead of 1 (programmer style)
    --ai-reasoning|-r:  Print information about what the AI is doing, and why,
                        during the game.
    --ai-simulation|-a: Simulate a bunch of AI battles.
    --seed=<>|-s=<>:    Seed the AI RNG
    --pvp|-p            No AI, just humans (player vs player)
    --help|-h:          Print this help screen.

Good luck!

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.