Inspiration

This project was inspired by classic dice games, especially Shut the Box. We wanted to create a digital version of this traditional pub game that blends luck and strategy. Games like 2048 influenced our minimalist and modern approach to this timeless concept.

What it does

The game challenges players to close numbered boxes from 1-12 based on dice rolls. Players decide which numbers to shut, using strategy and probability. The game ends when no valid moves are left. The ultimate goal is to shut all the boxes.

How we built it

We developed the game using a combination of TypeScript and codeblocks, which integrate seamlessly to manage different aspects of the game.

Challenges we ran into

One challenge was coding the logic to check all valid number combinations for a dice roll. Keeping the game state consistent and properly tracking win/loss conditions was also tricky. Handling multiple number selections for a single roll proved more complex than expected.

Accomplishments that we're proud of

We successfully built a functional digital version of Shut the Box that retains the original’s strategic elements. The game logic handles all possible number combinations, and the code is clean and prepared for future updates.

What we learned

We enhanced our understanding of managing game states and probability mechanics. We learned how to validate complex number combinations and structure code for scalability. This project also taught us how to balance challenge and engagement for players.

What's next for The Dice Challenge

We plan to convert the game into a user-friendly UI to make it more interactive and visually appealing. Future features may include stats tracking, difficulty levels, and multiplayer options. Our focus will be on creating an intuitive interface while maintaining the game’s strategic core.

Built With

Share this project:

Updates