Presiguess

October 2024Fullstack Development

Summary

Inspired by my love of daily geography games such as Geogrid, PresiGuess is an interactive web-based presidential guessing game that challenges players to identify U.S. presidents based on intersecting historical criteria. The game presents a 2x2 grid where each cell represents the intersection of two different presidential characteristics or historical facts. Players must guess which president(s) satisfy both the row and column criteria for each cell. The game features over 130 different historical categories and characteristics, making each round unique and educational. The system employs randomized sampling algorithms to ensure each game round has valid presidential matches across all grid intersections. I used FastAPI for defining the API endpoints and MongoDB for storing the presidential data, while the frontend is built with Vue.js.

Feature List

  • Dynamic Grid System: 2x2 interactive grid where each cell represents the intersection of two presidential characteristics
  • 130+ Historical Categories: Extensive database of presidential facts including military service, education, family life, political achievements, and personal characteristics
  • Randomized Gameplay: Each round randomly selects 4 different criteria (2 for rows, 2 for columns) ensuring unique gameplay experiences
  • Give Up Option: Reveals all answers when players need help
  • Structured Data Schemas: Pydantic schemas define presidential data models with type annotations and validation rules
  • CRUD Operations: Full Create, Read, Update, Delete functionality for presidential data management
  • Autocomplete Suggestions: Smart search functionality with president name suggestions
Start DateJune 2024
End DateOctober 2024
CategoryFullstack Development
Technologies UsedFastAPI, Vue.js, MongoDB