Giter Club home page Giter Club logo

csharp-quiz's Introduction

I am mmoomocow

forthebadge forthebadge forthebadge forthebadge forthebadge forthebadge


My projects

Fruity Pie is a game I developed with 3 others for the Dunedin High School game jam in 2022. It is based around a monkey who steals Grandma's fruit bucket and has retreated to the top of a tree. You play as the grandson who must catch the fruit so Grandma can bake her pie. Also see the ODT article about the event and the game we developed. I plan to keep developing the game and polishing it further.

The true game jam release of the game can be found under Releases -> v1.0.0. image

Expedition was developed as part of the cross pacific game jam 2023 between dunedin and tokyo. I worked in a pair to develop this game. The theme was Explore! Escape? and we wanted to focus on having a place to explore, and the ? on the escape. You play as a person who has just landed on a planet that is too toxic to live on and have to explore. You find a mysterious man who isn't happy and gives you 90 seconds to escape, but do you need to?

The game jam release of the game is found under Releases -> v1.0.0.


Stats

mmoomocow's GitHub stats

mmoomocow's github trophy

mmoomocow's github streak


About me

Code editor:

Visual Studio Code

OS:

Windows Ubuntu WSL

Languages:

Python JavaScript HTML5 CSS NodeJS C# Java

Frameworks:

NPM Django Unity

Code Storage:

Github

Automated testing:

GitHub Actions


My server

Ubuntu Docker


csharp-quiz's People

Contributors

mmoomocow avatar

Watchers

 avatar

csharp-quiz's Issues

Repeated questions

Describe the bug
Questions can be repeated even if the user gets it correct the first time

To Reproduce
Steps to reproduce the behavior:

  1. Select any question type
  2. Get questions correct
  3. Hope you get the same question type twice

Expected behavior
No repeated question

Screenshots
image

Desktop (please complete the following information):
OS: Windows 10 (64x)
dotnet version: v5.0
Program Version: v1.0.0-dev

Extra space

Describe the bug
There is an extra space in answer 3 of the question "What is a normal heart rate?".

To Reproduce
Steps to reproduce the behaviour:

  1. Select vital signs question type
  2. hope you get the correct question

Expected behaviour
No extra space

Screenshots
image

Desktop (please complete the following information):
OS: Windows 10 (64x)
dotnet version: v5.0
Program Version: v1.0.0-dev

Can answer with a number that isn't displayed as an option.

Describe the bug
A number that is not an option can be entered.

To Reproduce
Steps to reproduce the behaviour:

  1. Get asked a question by the program
  2. Enter a number that's not an option (like 7)

Expected behaviour
An error message to say it's not a valid option and the opportunity to answer again

Screenshots
image

How many areas are there in the Coastal Otago district?
1) 5
2) 8
3) 6
4) 4
7
Sorry, that's not correct. The correct answer was:
1) 5
There are 5 areas, South, Costal otago, Ara te uru, Taieri, and Otepoti

Desktop (please complete the following information):
OS: Windows 10 (64x)
dotnet version: v5.0
Program Version: v1.1.0

Additional context
ty @mmoomocow for correcting this to use the correct format

Correct answer is wrong

Where is the issue
Written test questions, How many areas are there in the Coastal Otago district?.

Screenshots
image

Additional context
The answer at index 0 is correct, but the answer at index 1 is saved as correct

Populate questions

Real questions need to be created before the console app can be finished

Alternative way to measure a user's score

Is your feature request related to a problem? Please describe.
Trial a different way of tracking a user's score

Describe the solution you'd like
Use a single int that is incremented when the user gets a question correct. This creates a more simple scoring system that users are more likely to understand

Scoring system

Is your feature request related to a problem? Please describe.
Having a scoring system makes the quiz more fun and incentivises users to compete against each other to get better scores, to get better scores they would need to learn.

Describe the solution you'd like
A way to track the number of correct answers given, and then tell the user how many they got correct

Additional context
#20 will be required before this can be added

Question type selection type is wrong

Describe the bug
The question type selection is now incorrect after updating the name and content of the first aid questions (formally triage)

To Reproduce
Steps to reproduce the behavior:

  1. Start the program
  2. Select triage (1)
  3. you will be asked first aid questions

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Add explanation for correct answers

Is your feature request related to a problem? Please describe.
There is no opportunity to learn from mistakes when an incorrect answer is given.

Describe the solution you'd like
Some description text should be given when a question is answered incorrectly to help explain why the correct answer is correct.

Additional context
Fix by adding a "string explanation" variable to the question struct. Then print when incorrect

Alternative question storage

Is your feature request related to a problem? Please describe.
Trial a different way of creating and storing questions.

Describe the solution you'd like
A different way to store questions using arrays for each variable, then get a random number and get the question information from each of the arrays.

Ask multiple questions

Is your feature request related to a problem? Please describe.
Having the quiz only ask 1 question is boring!

Describe the solution you'd like
Asking multiple questions each time the program is run, e.g. with a while loop

Multiple question types

Is your feature request related to a problem? Please describe.
Have multiple types/themes for questions.

Describe the solution you'd like
The ability to pick a question type, eg first aid, drill, st john history etc

Describe alternatives you've considered

  1. Multiple arrays, 1 for each type and pick one from the correct array
  2. Add a type variable to the question struct and pick one that has the correct value

non-int input causes error

Describe the bug
Inputting text that is not a number causes an error

To Reproduce
Steps to reproduce the behavior:

  1. Run program
  2. Enter a string that is not a number
  3. error

Expected behavior
A message saying that it is not a valid answer and the option to re-answer

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • DotNet 5.0
  • App version v0.1.0

Additional context
Add any other context about the problem here.

dotnetcore v3.1

Is your feature request related to a problem? Please describe.
Dotnetcore v3.1 should be added as a target framework as it can then be run on the school computers

Describe the solution you'd like
Dotnetcore v3.1 added as a target framework

Code comments

Is your feature request related to a problem? Please describe.
Code comments will make the code more clear and easier to understand. They show an understanding of how the program works and allows easier debugging.

Describe the solution you'd like
Added comments to describe the function of components.

Describe alternatives you've considered
A separate document to describe the purpose and function of code. Rejected because it would not be effective, as the code is updated the line position of code will change, requiring the document to be completely re-indexed for every commit.

Additional context
Add any other context or screenshots about the feature request here.

Revert Question struct to class

Is your feature request related to a problem? Please describe.
Classes use reference types and are allocated to heap memory, allowing "cheaper" use. Reduces memory cost of the program

Describe the solution you'd like
The Structure for the Question object replaces with a class

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Document relevant implications

Is your feature request related to a problem? Please describe.
Relevant implications are important for the way that programs are developed and designed

Describe the solution you'd like
Add additional description of the relevant implications to the README.md

All inputs are incorrect

Describe the bug
Selected question types and question answers didn't match up with the displayed values

To Reproduce
Steps to reproduce the behavior:

  1. Start program
  2. select question type (I chose 1 - triage)
  3. It selects wrong type (Vital signs not triage)
  4. Answer question
  5. You are told the answer is incorrect
  6. It says the correct answer (the one that was chosen)

Expected behavior
Correct question type selected and correct answer marked as correct

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 64x
  • dotnet version: v5.0.x
  • Program Version: v1.0.0

Additional context
Add any other context about the problem here.

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.