A sleek, strategic math-based game built with Python and Tkinter. Challenge a “smart” AI in a battle of logic, binary sums, and subtraction.
Nim is a mathematical game of strategy.
AI Intelligence: The bot uses a “Nim-Sum” mathematical strategy. While it may make mistakes early on, it becomes increasingly perfect as the coin count drops. Can you beat the math?
game.exe.If you want to modify the code or run it manually:
Here is the full, formatted text for your README.md. I have included a section for a screenshot (place a file named screenshot.png in your folder to make it appear) and clear instructions for your users.
Markdown
A sleek, strategic math-based game built with Python and Tkinter. Challenge a “smart” AI in a battle of logic, binary sums, and subtraction.
Nim is a mathematical game of strategy.
AI Intelligence: The bot uses a “Nim-Sum” mathematical strategy. While it may make mistakes early on, it becomes increasingly perfect as the coin count drops. Can you beat the math?
MindNim.exe.If you want to modify the code or run it manually:
✨ Features Dynamic Animations: Smooth cubic-easing animations when coins are removed.
Smart AI: A bot that balances random play with mathematical “Nim-Sum” strategy.
Modern UI: A dark-themed, responsive interface using Tkinter’s Canvas.
Zero Dependencies: Runs on standard Python without needing external libraries like PyGame or Kivy.
Built With Language: Python 3.x
GUI Library: Tkinter
Packaging: PyInstaller
Project Structure main.py - The full game source code.
requirements.txt - Required for building the executable.
.gitignore - Prevents temporary build files from cluttering the repo.