Skip to content

mattdworkin/multifunctional-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multifunctional Calculator

A React-based calculator with standard functions and hidden advanced mathematical features including a mathematical adventure game.

Features

  • Basic Calculator: Perform standard arithmetic operations
  • Secret Mode: Access advanced mathematical functions
  • Adventure Game: Play as Foxafillian in a mathematical fantasy world

Installation

# Install dependencies
npm install

# Start the application
npm start

The application will open in your browser at http://localhost:3000.

How to Use

Basic Calculator

  • Use the number buttons (0-9) to input values
  • Click operation buttons (+, -, *, /) to perform calculations
  • Press "=" to calculate the result
  • Use "DEL" to delete the last character

Accessing Secret Mode

  1. Click the calculator display area 5 times
  2. The secret mode interface will appear with advanced functions

Advanced Mathematical Functions

In secret mode, you can:

  • Calculate factorials
  • Generate Fibonacci numbers
  • Check if a number is prime
  • Evaluate complex mathematical formulas
  • Solve quadratic equations

Adventure Game

  • Click "Enter Mathematical Adventure" in secret mode
  • Play as Foxafillian, a fox with mathematical powers
  • Make choices to progress through the story
  • Solve puzzles, defeat enemies, and collect items
  • Track your health and inventory
  • Complete the adventure to become ruler of the Mathematical Realm

Development

This project was built with:

  • React
  • JavaScript
  • CSS

Contributing

Feel free to fork this project and add your own features or improvements.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published