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.
- 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.
- 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!
-
Ensure you have Python 3.x installed.
-
Install required dependencies:
pip install pygame matplotlib numpy
-
Clone this repository:
git clone https://github.com/your-username/Calc2048.git cd Calc2048
-
Run the game:
python calc2048.py
- Arrow keys: Move tiles
Q
: Quit the game
- Pygame for rendering the game.
- Matplotlib for LaTeX rendering of mathematical expressions.
- NumPy for mathematical computations.
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See the LICENSE file for details.
- Inspired by the classic 2048 game.
- Special thanks to the open-source community for tools like Pygame and Matplotlib.