basketball_scoreboard_project's People
basketball_scoreboard_project's Issues
Image 1.png - Starting display
- Text: SHOOTOUT!, colour: 0xFF8C00
- Text: INSERT COIN, colour: 0xFFFFFF, blink
- Text: HISCORE, colour: 0x008B8B, Text: HISCORE VALUE, colour: 0x8B0000
- Play the audio file insert_coin.mp3 when the Mini LED Arcade Button is pressed and go to Image 2.png
- If the Mini LED Arcade Button is held for 5 seconds on the starting display it resets the HISCORE to 0 and colour 0xFFFFFF
- Can we make blinking text stay on for 2 seconds and off for 1 second
- When powering on the Python appears in the top left. I read it will show the CircuitPython REPL until you explicitly run code to show something else, are we not maybe running the code right away? (https://circuitpython.readthedocs.io/en/latest/shared-bindings/displayio/index.html#displayio.Display.show)
- Play and repeat the audio file space_jam.mp3 until the Mini LED Arcade Button is pressed
- When going back to the start screen from any view it plays the space_jam audio but does not repeat it
- On the start screen if the button is pressed when the text is not visible and the game ends from the game over or new hiscore view the text starts off hidden. If I start the game with the text visible and when it returns to the start screen the text starts off visible. Also, game_over text and hiscore text still randomly appearing as hidden when entering the view
- had 1 occasion where the reset button crashed the system - haven't had after commenting out rainbow_sparkle.animate()
- If you hold the button to reset the hiscore the rainbow_sparkle.animate() gets paused and so does the blinking text, and audio sometimes
- If you press the button when the text is hidden when the game returns from game_over and hiscore screens it starts off hidden and if you press it when the text is visible it starts off visible
Image 4.png - NEW HI-SCORE
- When the TIME ends and if the SCORE VALUE is higher than the previous HISCORE VALUE, play the audio file hiscore.mp3
- Text: NEW, colour: 0x8B0000, HISCORE, colour: 0x008B8B, Text: HISCORE VALUE, colour: 0xFFFFFF, blink all text
- Wait 5 seconds then go to the starting display
- Update the game display with the NEW HISCORE VALUE
- Sometimes if the hiscore is beat, when the game ends the hiscore audio file doesn't play
- Flash the NeoPixels with a rainbow theatre effect
RGBMatrix Flickering
- ag_time_c & bt_time_c labels flicker
- All labels flicker when the audio starts
- All labels flicker when the LEDs activate
Image 2.png - TIME & SCORE
- TIME VALUE decrements from 60 to 0 seconds
- Text: SCORE, colour: 0x0E86D4, Text: SCORE VALUE, colour: 0xFFFFFF
- Text: TIME, colour: 0xFF8C00, Text: TIME VALUE, colour: see e, f, g
- The colour of the TIME VALUE is 0x008B00 between 60 and 21 seconds
- The colour of the TIME VALUE is 0xFFFF00 between 20 and 11 seconds
- The colour of the TIME VALUE is 0x8B0000 between 10 and 0 seconds, play the audio file countdown.mp3 at 10 seconds
- Text: HISCORE, colour: 0x008B8B, Text: HISCORE VALUE, colour: 0x8B0000
- The time starts at 60 seconds then goes to 50 then 59
- The NeoPixels flicker when the colour changes
- Sometimes when pressing the button sometimes the whistle audio file doesn't play
- Whistle audio not playing when pressing the button, the space_jam audio plays then stops
- Had three occasions where the countdown audio didn't play - not sure why
- The RGB Matrix flickers
- Sometimes the space_jam audio plays in the game screen before the whistle - haven't experienced for a while
- Between 60 and 21 seconds, the NeoPixels are set to 0x00B300 and blink
- Between 20 and 11 seconds, the NeoPixels are set to 0xB3B300 and blink
- Between 10 and 0 seconds, the NeoPixels are set to 0xB30000 and blink
- On the first power on of the Feather M4 the game starts at 60 seconds then goes to 50 then 59, the games after the intial game start at 60 seconds then go 59. Also, sometimes they are going in faster than 1 into the screen
Arcade Screen
- Score count jumps at two (10) and three digits (100), doesn't happen all the time
- Sensors sometime do not count point
Image 3.png - BONUS TIME
- If the SCORE VALUE is 5 points away from the HISCORE VALUE blink the text HISCORE and HISCORE VALUE
- If the HISCORE VALUE is beaten, play the audio file hiscore.mp3, blink the text BONUS TIME for 5 seconds
- Only start bonus time if hiscore is at 20, so if your score is 15 the bonus time will start
- If you end a game with a new hiscore and the score count is pink it stays pink when you start a new game
- If the HISCORE VALUE is beaten during 10 and 1 seconds add 30 seconds onto the TIME VALUE
- If the HISCORE VALUE is beaten during 20 and 11 seconds add 20 seconds onto the TIME VALUE
- If the HISCORE VALUE is beaten during 30 and 21 seconds add 10 seconds onto the TIME VALUE
- If the HISCORE value is beaten during 10 and 1 seconds and the countdown audio is playing the hiscore audio for bonus time doesn't play if its beaten
- If the HISCORE is beaten during the times above BONUS time text does not appear and the additional time is not added on
- If you end a game with the bonus time text present and start another game the bonus text will display not hiscore
- If you beat the hiscore before 30 seconds it will play the hiscore audio and stop the hiscore blinking then after 10 seconds it will show the bonus time text blinking
- After the BONUS TIME text blinks, display the HISCORE with the old VALUE (If the hiscore is beaten during the times above the hiscore text does not reappear)
- When the HISCORE & value text reappear they flicker
- when the bonus time appears it displays off the screen quickly, doesn't seem like its starting at the beginning
- If the HISCORE VALUE is beaten blink the NeoPixels to a rainbow theatre effect for 10 seconds (synchronously with the BONUS TIME text)
- set the score to pink when the bonus time appears and keep it pink until the round ends
- bonus score looks like it jumps into place, only happens on the first power on of the system and first game
- when the bonus_screen ends and displays the arcade_screen it shows the time where it left off and if for example 20 seconds was added on its paused on that time until it reaches that value
- when the bonus time ends the time text jumps - assume due to mismatch of centre but can't work out which one
- when i get a bonus score
- The bonus time might be appearing too fast like the bonus time text did
- the hiscore text now slightly appears behind the bonus time when switching
Image 5.png - GAME OVER
- When the TIME ends and if the SCORE VALUE is lower than the previous HISCORE VALUE, play the audio file game_over.mp3
- Text: GAME OVER, colour: 0x0D800D8, blink
- Text: SCORE, colour: 0xFF8C00, Text: SCORE VALUE, colour: 0xFFFFFF
- Wait 5 seconds then go to the starting display
- Sometimes the game over audio file doesn't play
- If you don't beat the hiscore the hiscore and value don't reappear in the next game
- Flash the NeoPixels with a rainbow theatre effect
Bonus Time
- If bonus time activated <= 10 seconds the countdown time and audio does not reappear
- When the hiscore label reappears after the bonus time the bonus time label shows in the background
https://user-images.githubusercontent.com/22541984/158791773-293eacc7-9809-4755-b506-46dfd1370fc2.mp4 - When the bonus time appears a label appears in the top left hand corner
https://user-images.githubusercontent.com/22541984/158792031-c868ebe0-a19b-476a-b295-bb1cb96fe472.mp4
bonus time
- enter bonus time on 104 and get another score 120 as it switches out of bonus time it shows 104 behind then displays 120
- if the score is 5 points away from the hiscore it isn't blinking anymore, its a slight blink
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.