Coder Social home page Coder Social logo

u1-project-game's Introduction

Cat Fight!

Slide Show: https://docs.google.com/presentation/d/1lTZ6PPy-EZ0IL9-6CLVa_-nnV5qngQ_BHbCVU0BC32g/edit?usp=sharing

CAT FIGHT is a Pokémon-style battle game. Each player will pick 2 cats and battle them to the death!

My Process

  • Create a wire frame for how I want the game to look. Think about how many different screens I want to have and what content will be on each respective screen
  • Code the bulk of the HTML. Create a different
    for each screen of the game and give each
    a semantic ID
  • Start coding some of the CSS. Mostly just flexing different elements to arrange them on the page the way I want, trying to match my wire frame as much as possible
  • Start coding the JavaScript. Start with the simplest functions first, like event listeners on buttons and the basic logic of the game
  • Slowly add game functionality, incorporating one function at a time and making sure it works as intended
  • DRY out code throughout the process, where ever I notice chunks of code being repeated
  • Once the game is working mostly as intended, go back and add CSS styling and animations to make the game more visually appealing
  • Play though the game several times, making changes where necessary

Unsolved Problems

The game pretty much functions as I intended. Originally, instead of a heal, I wanted each Cat to have a buff or debuff ability. I believe it would make the game more dynamic and interesting. Certain buffs/debuffs would work well with other Cat's specials, allowing a player to incorporate more strategy/tactics by comboing abilities.

This is an achievable goal, given more time.

I would also like to:

  • Add several more cats to choose from
  • Allow players to pick more than just 2 cats
  • Make each cat much more varied in terms of HP, Base Attack and Special, while maintaining a decent balance
  • Add more pictures of each cat, like an attack/death pose
  • Style the game to have more interesting animations

Wins & Challenges

  • Getting the Pick Screen to display each Cat's info when you hover over their picture
  • Coding the game to draft in a snake draft, as opposed to just alternating
  • Creating the Health Bars and having them be updated with each attack
  • Making sure the game knows when a Cat is dead and not allowing a Player to switch if it's other cat is dead
  • Getting the win condition to execute when a Player's Cats are dead

Tech Used

Cat Fight utilizes only a couple of things to work:

  • HTML
  • CSS
  • JavaScript
  • jQuery

Installation

Cat Fight only requires a web browser to be played. Enjoy!

u1-project-game's People

Contributors

atsujimoto avatar connorjclark avatar

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.