Skip to content

Pictionary is a Rust-based console game library for word guessing. It randomly selects words from a list and prompts players to guess them. Simple and lightweight, it's ideal for learning Rust basics.

License

Notifications You must be signed in to change notification settings

oursy/pictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pictionary

Pictionary is a simple, interactive console game library written in Rust. It allows players to guess words selected randomly from a predefined list. This project aims to provide a basic understanding of Rust programming concepts including handling user input, random number generation, and basic Rust syntax. It's lightweight, easy to use, and perfect for those new to Rust or looking for a fun coding exercise.

Features

  • Random word selection from a predefined list.
  • Console-based user interaction for guessing words.
  • Simple and intuitive API for integrating into Rust projects.

Getting Started

To use Pictionary in your project, add it as a dependency in your Cargo.toml:

[dependencies]
pictionary = "0.1.0"

Replace "0.1.0" with the latest version of Pictionary.

Usage

Here's a simple example on how to use the Pictionary library to run a game:

use pictionary::play_pictionary;

fn main() {
    println!("Welcome to Pictionary!");
    play_pictionary();
}

Development

To contribute to Pictionary or run it locally, clone the repository and build the project:

git clone https://github.com/yourgithub/pictionary.git
cd pictionary
cargo build

Run tests to ensure everything is working as expected:

cargo test

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to improve the project.

About

Pictionary is a Rust-based console game library for word guessing. It randomly selects words from a list and prompts players to guess them. Simple and lightweight, it's ideal for learning Rust basics.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages