Skip to content

Y-R-T/Calc2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Calc2048 - A Calculus-Enhanced 2048 Game

Calc2048 is a creative adaptation of the classic 2048 game, incorporating calculus and mathematical expressions as gameplay elements. It offers a unique way to explore and visualize mathematical concepts while enjoying a fun puzzle game.

Features

  • Calculus Tiles: Perform integrations and differentiations with Calculus Tiles.
  • Exponential Tiles: Combine exponential terms with fractions and powers.
  • Dynamic Merging: Merge tiles to create higher-order expressions or perform mixed operations.
  • LaTeX Rendering: Display mathematical expressions using LaTeX, powered by Matplotlib and Pygame.

How to Play

  • Use arrow keys (, , , ) to move tiles.
  • Tiles of the same type merge to form more complex expressions.
  • The game ends when no more moves are possible.
  • Reach a certain level of complexity to win!

Installation

  1. Ensure you have Python 3.x installed.

  2. Install required dependencies:

    pip install pygame matplotlib numpy
  3. Clone this repository:

    git clone https://github.com/your-username/Calc2048.git
    cd Calc2048
  4. Run the game:

    python calc2048.py

Controls

  • Arrow keys: Move tiles
  • Q: Quit the game

Dependencies

  • Pygame for rendering the game.
  • Matplotlib for LaTeX rendering of mathematical expressions.
  • NumPy for mathematical computations.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See the LICENSE file for details.

Screenshots

Screenshot

Acknowledgements

  • Inspired by the classic 2048 game.
  • Special thanks to the open-source community for tools like Pygame and Matplotlib.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages