Source code for our Trijam #167 entry. The theme is "heighten senses."
Trijam is a weekly game jam where the goal is to create a game in under 3 hours of development time.
Animal Sounds is a Simon-like game where players must listen carefully to the order in which the animal sounds are made.
Click the buttons in the correct sequence to win the game! Play it here, and click here to view the submission page.
Animal Sounds ranked number 25 out of 35 entries.
- Vanilla JS
- Color Hunt (palette generator)
Animal Images:
- Horse: https://unsplash.com/photos/TGl7QuHRIDM
- Lion: https://unsplash.com/photos/UxHol6SwLyM
- Dog: https://unsplash.com/photos/N04FIfHhv_k
- Pig: https://unsplash.com/photos/YKAJ2kQpqQw
- Cow: https://unsplash.com/photos/Mm_D_kbvTUM
- Bear: https://unsplash.com/photos/_r6w0R6SueQ
- Serpent: https://unsplash.com/photos/xfpGpk4u8fU
Animal Sounds:
Feedback Sounds:
- Cute Game Music & Sound Effects
- Box shadow not showing on the top or bottom (Adding
position: relative
did the trick) - How to fix CSS not linking to your HTML Document (Just needed a hard reload 🤦)
- Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first
- Background color doesn't stretch but instead repeats (Need to add
background-attachment: fixed
to body)
Run with local web server
python -m http.server 8000
- Allow players the ability to select game difficulty
- Add a visual of the sound waves when the animal sounds are playing
MIT License
Copyright (c) 2022 The Coding Couple
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.