Skip to content

marveldylan/BATTLEDUCKS

Repository files navigation

BATTLEDUCKS


Date: 03/07/2022

By: Dylan Marvel


Image

PLAY NOW ON SURGE.SH

 

DESCRIPTION

BATTLEDUCKS is a high-octane, turn-based, duck-themed card game for two players! Elements of BATTLEDUCKS are inspired by popular virtual and real-life card games, such as GWENT: The Witcher Card Game, Epic Spell Wars, and Blackjack. Everyone knows that ducks are competitive creatures by nature, and we've gathered the coolest ducks around to compete in the fiery crucible that is BATTLEDUCKS!!!

 

HOW TO PLAY

OVERVIEW: Players compete by playing DUCK cards, with the goal of attacking the other opponent. Each turn, a player can either lay a card or draw a card. Each DUCK card has an attack and defense stat. Laying a DUCK card in the attack row plays its attack stat, nullifying the defense stat. Similarly, laying a DUCK card in the defense row adds to player defense and does not contribute to attack. After 20 turns, attack and defense for each player is compared. Player 1 attack goes against Player 2 defense, and vice versa. Whichever player has the highest point differential (attack vs defense) wins!

THE BOARD: The game board is split into 20 tiles, 10 for each player. On their turn, a player is able to lay a DUCK card on one of their tiles. The game board features an attack row and defense row. Attack row plays a card's attack, and defense plays a card's defense.

 

THE DUCKS: What we're all here for. BATTLEDUCKS is played with DUCK cards, each with a unique name, image, and stats - in the future, some DUCKS even have special features that activate events throughout the game! Choose the best combination of DUCKS to lay in a round to defeat your opponent.

 

Technologies

  • HTML
  • CSS
    • Flexbox
    • Grid
  • JavaScript
    • Event-Handlers
    • DOM Manipulation
    • Higher-Order Functions
    • Object Classes

Screenshots

DUCKS

Image

Bat Duck Card - 30 attack and 20 health.

Game Board

Image

Player 1 has laid three Regular Gray Ducks. Player 2 has laid two Regular Gray Ducks. Player 2 must play their final card to complete the round. Current score for each player is shown on their respective sides. Buttons added for viewing deck and selecting a current card to place.

Instructions for Developers

  • Fork and clone this repo
  • Navigate to project folder
  • Open index.html

Known Issues

  • Draw feature will replace current card ids and won't update on game board.
  • If player hand is empty, draw feature will fill hand and allow to continue turn.
  • Draw function may not end turn as it should - player is still able to lay cards after a draw (random at the moment).
  • Back of card does not render. Implemented hide feature for the time being.
  • Card images may spill outside of game board tiles.

Future Updates

  • Submit README.md
  • Create Game Board
  • Create Basic Game Assets for Testing Logic
  • Implement Game Initialization Logic
  • Implement Round Logic (Changed to single round)
  • Create Win Conditions
  • Create Draw Conditions w/ HOLD card (Omitted HOLD card mechanics)
  • Stylize Game and Assets
  • Implement Classes and HOF to create new decks and add new cards quickly
  • Add Extra DUCK Cards and Special Features

CHECK OUT MORE ON TRELLO

 

Credits

SITE / GAME BOARD MOCK-UPS BUILT WITH: FIGMA

ASSET MOCK-UPS BUILT WITH: PISKEL & GRAVIT

FINAL SITE / GAME BOARD / CARD ASSETS BUILT WITH: PISKEL, GRAVIT & [PROCREATE}(https://procreate.art/)

MUSIC MADE WITH: REASON COMPACT

About

". . .Quack . . ."

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors