sumwords

Sumwords_Logo

Sumwords

Release License Open Source Tech GitHub Pages

โ€œKnow the Facts, Do the Mathโ€

A constraint-based math puzzle game that combines trivia knowledge with equation solving. Answer trivia questions by placing numbers from a limited pool into mathematical equations while satisfying column sum constraints.

Landing Page: ๐Ÿ  Home of Sumwords

๐ŸŽฎ Play Now

Sumwords: ๐ŸŽฒ Play Game

Sumwords_in_Action
Sumwords in action

โœจ Features

Core Gameplay

Categories

  1. Sports
  2. History
  3. Geography
  4. Pop Culture
  5. Science
  6. Movies & TV
  7. Food & Drink
  8. Technology
  9. Games & Literature
  10. Animals & Nature

Plus an โ€œEverythingโ€ category that combines all questions for maximum variety.

Game Features

Visual Polish

๐ŸŽฏ How to Play

Goal

Place numbers from the number pool into the equation blanks to make valid equations. The sum of each column must match the target shown at the bottom.

Rules

  1. Answer the trivia question to learn which number is the solution
  2. Place numbers from the pool into equation blanks by clicking the pool number, then clicking a blank
  3. Select operators (Medium/Hard) from dropdowns between operands
  4. Satisfy constraints:
    • Each equation must be mathematically correct
    • Column totals must match the targets at the bottom
  5. Submit when all blanks are filled to check your solution

Tips

๐Ÿ› ๏ธ Technology Stack

๐Ÿ“ฆ Installation (Local Development)

  1. Clone the repository
   git clone https://github.com/TheBIMsider/sumwords.git
   cd sumwords
  1. Open in browser
   # Simply open index.html in your web browser
   # No build process or dependencies required
  1. Optional: Use a local server
   # Python 3
   python -m http.server 8000

   # Python 2
   python -m SimpleHTTPServer 8000

   # Node.js (if you have http-server installed)
   npx http-server

Then navigate to http://localhost:8000

๐Ÿ“ Project Structure

sumwords/
โ”œโ”€โ”€ V01/
โ”‚   โ”œโ”€โ”€ index.html          # Game HTML structure
โ”‚   โ”œโ”€โ”€ styles.css          # Game styling with dark mode
โ”‚   โ”œโ”€โ”€ game.js             # Game logic and 500 trivia questions
โ”‚   โ””โ”€โ”€ Sumwords_Logo.png   # Game logo
โ”œโ”€โ”€ landing/
โ”‚   โ”œโ”€โ”€ index.html          # Landing page HTML
โ”‚   โ”œโ”€โ”€ styles.css          # Landing page styling with dark mode
โ”‚   โ””โ”€โ”€ script.js           # Landing page theme switcher
โ”œโ”€โ”€ README.md               # This file
โ””โ”€โ”€ LICENSE                 # BSD 3-Clause License

๐ŸŽฒ Game Design

Puzzle Generation

Difficulty Scaling

๐Ÿ“Š Statistics

The game tracks comprehensive statistics including:

๐Ÿค Contributing

Contributions are welcome! This is a personal learning project, but feel free to:

Adding Trivia Questions

Questions are stored in game.js in the triviaQuestions object. Each question needs:

Example:

{
  question: "How many keys are on a standard piano?",
  answer: 88,
  category: "Music & Arts"
}

๐Ÿ“„ License

This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.

๐Ÿ‘ค Author (Vibe Coder)

Carl Storms (The BIMsider) With the help of his AI Buddy ๐Ÿค– Claude AI: Sonnet 4.5

๐Ÿ™ Acknowledgments

๐Ÿ“ Development

This project was developed (Vibe Coded) over 20 documented sessions with comprehensive planning:

๐Ÿš€ Roadmap

Completed โœ…

Potential Future Enhancements


Enjoy playing Sumwords! ๐ŸŽฎ๐Ÿงฎ

If you find a bug or have suggestions, please open an issue on GitHub.