Git Product home page Git Product logo

tp's Introduction

GameBook

CI Status codecov

Ui

Introduction

  • GameBook is a game tracking app for recreational gambling games players.
  • GameBook helps users track their revenues and losses across different games and generates meaningful statistics that aid them in understanding their gaming records.
  • GameBook is designed for users who prefer Command Line Interface (CLI).

Site Map

Acknowledgements

This project is based on the AddressBook-Level3 project created by the SE-EDU initiative.

tp's People

Contributors

zhiyuan-amos avatar pyokagan avatar yzhilong avatar benjaminlhr avatar chingh20 avatar yamgent avatar dannylty avatar damithc avatar shaliniseshadri avatar m133225 avatar mightycupcakes avatar yamidark avatar rinder5 avatar j-lum avatar eugenepeh avatar limmlingg avatar sijie123 avatar chao1995 avatar vivekscl avatar lejolly avatar yl-coder avatar fzdy1914 avatar pierceandy avatar ndt93 avatar edmundmok avatar kychua avatar wltan avatar ernestlim8 avatar alexlmeow avatar okkhoy avatar

Watchers

 avatar  avatar  avatar

tp's Issues

[PE-D] UG bug (Quick Start)

add /g Poker /s 500 /e 650 /d 20/06/21 /dur 142 /loc Sentosa Casino command provided in the UG does not work

image.png


Labels: severity.Medium type.DocumentationBug
original: ryantianj/ped#2

Change GameName to GameType in User Guide and Messages to User

Right now our class name is GameType, but we use GameName for our user guide and messages to user.
To make it more consistent, we should change it in v1.4.

Places to look for change:

  • GameEntry toString() method
  • GameEntry unit tests
  • Strings in Command files
  • UG

[PE-D] Important features cannot be seen in GUI for small window sizes

  1. On the first start, most of the graph and all of the statistics cannot be seen. I suggest changing the default window size or enforcing a minimum window size. e.g.:

image.png

  1. On smaller screens, statistics cannot be seen. For example, this is how the GUI looks on my laptop screen (1280x720):

image.png


Labels: type.FeatureFlaw severity.High
original: Chesterwongz/ped#1

Update HelpCommand to accept specific help arguments.

Allow users to enter help commands that are specific to different features.
Eg. 'help add' should show what is the format of an add command, and explain what an add command does.

The general 'help' command without any argument should be updated to show a command summary of all the commands available in GameBook.

[PE-D] Bug in Add Command

Unable to add a game entry

Steps:

  • Start application
  • Insert the following add command taken from the User Guide Provided:

Command: add /g poker /s 0.01 /e 1.02 /d 11/9/21 21:20 /dur 3:14 /loc Home

Incorrect Error Log: Cash values should be floating point numbers with at most 2 decimal places.
Should be Command Success I think.

image.png

image.png

image.png


Labels: severity.High type.FunctionalityBug
original: Siddharth-Sid/ped#1

Update which flags are necessary in the UI help prompts.

Currently we made some changes to command arguments.
Let's reflect that in the prompts.

e.g.
add: Adds a game to the game book. Parameters: /g GAMENAME /s INITIALCASH /e FINALCASH /date DATE /dur DURATION /loc LOCATION [/tag TAGS ... ] Example: add /g blackjack /s 200 /e 250 /date 03/10/21 /dur 50 /loc 311, Clementi Ave 2, #02-25 /tag friends

Refactor Model classes

Have only String as API argument in Model subclasses, and move checking for validity into Model subclasses. Create subclass wrappers for all model components.

Add "profit" as an argument to commands

"Profit" is accepted as an argument for add command, as it is more user friendly and intuitive than the previous required inputs: start amount and end amount.
UI is changed to reflect profit per game entry, instead of showing the start amount and end amount.

Issue to consider:
Should we still keep start amount and end amount in game entry objects?

Shorten arguments flags

duration: Change from /duration to /dur and add new allowable formats
location: Change from /location to /loc
game: Change from /game to /g
start: Change from /start to /s
end: Change from /end to /e

Change tag command

The current format requires us to have multiple "/tag" to add multiple tags, for example, "... /tag tag1 /tag tag2 /tag tag3". Change to allow "/tag tag1, tag2, tag3".

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.