Giter Site home page Giter Site logo

math-whizard's Introduction

Math Whizard

This is a project I started while I was learning JavaScript. It's a math game using HTML, CSS, and Vanilla JS! Feel free to check it out here.

Game Settings

There are multiple settings the user can choose to customize the game.

Difficulty

  • Easy - two single-digit numbers
  • Medium - one double-digit number and one single-digit number
  • Hard - two double-digit numbers

Operators

The user can pick which operators to use:

  • Addition
  • Subtraction
  • Multiplication
  • Division

Game Style

  • Unlimited - Neverending equations
  • 60 Second Fury - 60 second timer to add the pressure

Use of Negative Numbers

The user can choose whether equations will include negative numbers.

Installation

If you'd like to play around with the code and build your own game, feel free to do so!

git clone https://github.com/melvincayas/math-whizard.git

Contributing

I'm always open to improving my code and the best way to do that is by having others critique it. If you see any bugs or opportunities to refactor, please let me know. It would be highly appreciated!

  1. Fork this repo

  2. Create your branch for improvement

git checkout -b your-improvement
  1. Commit your changes
git commit -m "Refactored the code"
  1. Push to your branch
git push origin your-improvement
  1. Open a Pull Request

Future of Math Whizard

I started this project in March 2021 while taking a full-stack web developer course on Udemy. My goal was to see what I could do with JavaScript.

I revisited this project in June 2021 and I -

  • Refactored the code
  • Added error handling for empty inputs
  • Modified the game layout
  • Included the use of negative numbers
  • Added sound, hover, and color effects for playfulness

If I were to expand on Math Whizard, I'd create a user database and let users keep track of their scores and compare with friends.

Acknowledgements

Contact

Melvin Cayas
[email protected]
melvincayas.com

Project Link
Live Version
GitHub

math-whizard's People

Contributors

melvincayas avatar

Watchers

 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.