desmondtong / Game-Project-Dice-Kingdom-Clash

Embark on an epic 2-player turn-based battle, inspired by Super Mario Party's minigame, where playersdefeat their opponent's dice tower using Cannon Dice and Power Dice for exciting twists and turns in the game.

Home Page:https://dice-kingdom-clash.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

Dice Kingdom Clash

Introduction

Dice Kingdom Clash is a 2-player turn-based game inspired by a minigame from Super Mario Party. Engage in an epic battle where the goal is to reduce your opponent's dice tower HP to zero and claim victory! To add excitement, I've introduced Power Dice, granting special abilities that can turn the tide of the game. Immerse yourself in this thrilling experience against a worthy opponent. This project was developed as part of my coursework for GA SEI-45.

Technologies

Javascript, CSS, HTML & Bootstrap

How to play

  1. Access the game via https://desmondtong.github.io or https://dice-kingdom-clash.netlify.app

  2. Upon arrival, familiarize yourself with the game rules outlined in the Tutorial tab. image

  3. Each player takes turns rolling their Cannon Dice to launch attacks against their opponent. Click the green button to roll the dice. Keep an eye out for the Power Dice Deck in the center of the screen, which provides an opportunity to unlock special abilities. image image

  4. Enjoy and have fun exploring Dice Kingdom Clash!

Feel free to fork the project and unleash your creativity to enhance the game according to your preferences. I encourage you to engage in discussions with me and the community, as we collaborate to make Dice Kingdom Clash an even more captivating experience. Let's come together and take this game to new heights of excitement!

Reference/Credit

  1. Game inspiration: https://www.youtube.com/watch?v=TbRtt4X5t-8
  2. Game BGM: https://www.youtube.com/watch?v=ryp-CqIfeX4
  3. Timer function: https://codepen.io/ideaguy1974/pen/pZBBLK
  4. Graphics created using templates from https://www.canva.com
  5. CSS positioning: https://blog.hubspot.com/website/center-div-css
  6. Adding audio to javascript: https://stackoverflow.com/questions/45216461/play-sound-in-javascript
  7. Adjust audio volume in javascript: https://stackoverflow.com/questions/37115491/how-to-set-volume-of-audio-object
  8. ChatGPT:
  • triggering Bootstrap modal windows manually: image
  • adding transition effects to elements: image

About

Embark on an epic 2-player turn-based battle, inspired by Super Mario Party's minigame, where playersdefeat their opponent's dice tower using Cannon Dice and Power Dice for exciting twists and turns in the game.

https://dice-kingdom-clash.netlify.app


Languages

Language:JavaScript 46.5%Language:HTML 40.4%Language:CSS 13.1%