Coder Social home page Coder Social logo

dicey's Introduction

dicey-logo

Dicey

Overview

Dicey is a simple dice roller Windows application written in C++ with a Qt Creator 12.0.2 GUI. It allows users to roll one or more dice with different numbers of sides and view the results.

Getting Started

To run the application, follow these steps:

  1. Ensure you have Qt Creator installed on your system.
  2. Clone or download the repository to your local machine.
  3. Open the project in Qt Creator.
  4. Build and run the project.

image

Usage

  1. Upon launching the application, you'll see the main window with an editable text box at the top labeled "Dice:".
  2. Enter the dice you want to roll according to the Valid Rolls section below.
  3. Click the "Roll" button to roll the dice.
  4. The results of each roll will be displayed under "Subtotal" and the total will appear under "Result". To re-roll the same dice, click the "Roll" button again.

Valid Rolls

Rule Valid input Invalid input
Roll must start with D or a number "6d6", "D20", "d4" "4"
No modifiers* "d8" "d8+2"
1 die type only* "d12" "d12 + 1d4"
No keeping/dropping† "4d10" "4d10dl1", "4d10kh3"

*Math operations are being implemented in the next version.

†Ability to keep or drop a number of dice is being implemented in an upcoming version.

Dependencies

This application is built using Qt Creator, based on Qt 6.6.0. Ensure you have Qt installed on your system to build and run the project.

Compatibility

This application is developed for Windows systems.


Created by Chris Worcester. Feel free to contribute by forking the repository and submitting pull requests.

dicey's People

Contributors

chriswhisker avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.