Inspiration

We were inspired by classic puzzle games and the desire to create a simple yet engaging mental exercise that could be enjoyed during quick Reddit browsing sessions. The concept combines the satisfaction of organizing chaos with the addictive nature of number-based puzzles, similar to sliding puzzles or Sudoku.

What it does

Number Sorter presents players with a scrambled sequence of numbers that they must rearrange into the correct ascending order. Players can drag and drop or click to swap numbers, with the goal of completing the sequence as quickly as possible. The app tracks completion time and provides instant feedback when the puzzle is solved, creating a satisfying gameplay loop that encourages repeated play.

How we built it

We developed Number Sorter using the Devvit framework, leveraging React components for the user interface and TypeScript for game logic. The app generates randomized number sequences, implements drag-and-drop functionality for number manipulation, and uses Reddit's native UI components to ensure seamless integration with the platform. We utilized Devvit's state management system to track game progress and player interactions.

Challenges we ran into

The main challenges included implementing smooth drag-and-drop interactions within Reddit's constrained environment, ensuring the puzzle generation algorithm created solvable but challenging configurations, and optimizing performance for mobile users. We also had to balance game difficulty to keep it accessible for casual players while still providing a meaningful challenge.

Accomplishments that we're proud of

We successfully created an intuitive and responsive puzzle game that feels native to the Reddit experience. The clean, minimalist design makes the game immediately understandable, while the smooth animations and instant feedback create a polished user experience. We're particularly proud of the elegant solution for touch-friendly number manipulation on mobile devices.

What we learned

This project taught us valuable lessons about designing games for social platforms, the importance of immediate user feedback in puzzle games, and how to create engaging experiences within platform constraints. We gained deeper insights into Devvit's capabilities and learned how to optimize interactive elements for both desktop and mobile Reddit users.

What's next for Number Sorter

Future updates will include multiple difficulty levels with longer number sequences, leaderboards to foster community competition, daily challenges with special number patterns, and potentially themed variations (dates, scores, etc.). We're also considering adding sound effects and more sophisticated visual feedback to enhance the gameplay experience.

Share this project:

Updates