Code Monkey home page Code Monkey logo

sortinghat's Introduction

Hello!

Interests:

  • AI safety (alignment)
  • Machine learning & deep learning
  • Science
  • Maths

I was the original author and current maintainer of the Book Project and the Books API.

sortinghat's People

Contributors

knjk04 avatar

Watchers

 avatar  avatar

sortinghat's Issues

Toggle sound broken in MainActivity

Toggle sound does not work on the title screen. I think createBackgroundMusic() is being called if the sound button was muted, but stopMusic() isn't actually stopping the music if the sound button wasn't previously muted.

Not all answers fit in landscape orientation

  • Rotating the screen on the quiz screen:
    • starts the song again (it shouldn't)
    • only shows the answers that can fit. You can't scroll at all

Branch tested on: experimental (which is up to date with the feature branch)

Make a Music class

The same methods are being used across different classes. Perhaps make a wrapper class for MediaPlayer?

Intro music doesn't stop playing after starting

Describe the bug
The intro music continues to play when you click on 'Begin'. Sometimes, it's fine and stops, but at other times it does not.

To Reproduce
Steps to reproduce the behaviour:

  1. Open app
  2. Click on 'Begin'
  3. Hear the music

Expected behaviour
The intro music should stop playing when you click on begin.

Android version (please complete the following information):

  • Device: Pixel XL
  • OS: Android 9/P beta
  • (Optional) API level: 28

(Optional) Where in code (if known)

  • Branch: experimental and master
  • File: MainActivity.java
  • Method: stopMusic() ?
  • Line number: 49?

App icon not showing on Pixel XL

The app icon is being displayed on a Pixel simulator on Android Studio but not on my Pixel XL even after uninstalling and then reinstalling the app

The default app icon is being shown instead

I've added both Round and square icons (Pixel phones show round icons on stock launcher)

Update:

  • Tested app on OnePlus One and the icon shows (I can get both round and square icons to appear when using Nova launcher)

Music in QuizActivity does not stop

Describe the bug
Music in QuizActivity does not stop when you switch to ResultsActivity

To Reproduce
Steps to reproduce the behaviour:

  1. Click on begin
  2. Go through all of the questions
  3. Hear the piano music (bensound_memories) playing

Expected behaviour
The music from QuizActivity should stop when you switch to ResultsActivity

Screenshots
N/A

Android version (please complete the following information):

  • Device: Pixel XL
  • OS: Android 9/P
  • (Optional) API level: 28

Additional context
N/A

(Optional) Where in code (if known)

  • Branch (e.g. Feature): Feature
  • File (e.g. QuizActivity.java): QuizActivity.java
  • Method (e.g. in determineHouse()): stopMusic()?
  • Line number (if known): N/A

Rotating the title screen does not save your name

On the title screen, if you fill our your first name and then rotate the screen, your name will no longer appear in the edittext field

Branch tested on: experimental (which is up to date with the feature branch)

Change README to .MD file

Change README to .MD file from an org file since everything that I have there can be done (they're both markdown and having a .MD README is better in case anyone wants to contribute to the README, but isn't familiar with the Org Syntax)

Toggle buttons are the wrong way around

The starting icon is correct -- it should be the muted icon because the background music is playing. If I click on the icon, it doesn't do anything (because it calls the else block in toggleSound() and isMuted is false by default. The setImageResources in toggleSound() probably just need to be swapped around (the one in the if clause should be in the else clause and visa versa)

This affects all of the Activity classes.

Music does not resume at correct position

Describe the bug
Cannot get house music to play at the position where it was last at before the activity was paused

To Reproduce
Steps to reproduce the behaviour:

  1. Go through the quiz
  2. Leave app when you get to the results screen
  3. Return to the app
  4. See error

Expected behaviour
The house music should continue at its last played position

Screenshots
N/A

Android version (please complete the following information):

  • Device: Pixel XL
  • OS: Android 8
  • (Optional) API level: 28

Additional context
I can get the house music to replay from the beginning, but not from a particular moment in the song

(Optional) Where in code (if known)

  • Branch (e.g. Feature): Feature
  • File (e.g. QuizActivity.java): ResultsActivity.java
  • Method (e.g. in determineHouse()): onResume()
  • Line number (if known): 110-111

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.