• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
joost

joost

aita

Remix of std/reactHonoStarter
Public
Like
1
aita
Home
Code
10
.idea
10
.venv
5
backend
2
db
frontend
5
local
3
.gitignore
.vtignore
README.md
deno.json
Branches
1
Pull requests
Remixes
History
Environment variables
1
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
7/23/2025
Viewing readonly version of main branch: v550
View latest version
README.md

Am I The Asshole? Guessing Game

A web-based guessing game built with React and Hono where users try to guess what percentage of Reddit users thought the poster was the asshole in posts from the r/AmITheAsshole subreddit.

Game Description

In this game, players are presented with a post from the "Am I The Asshole?" subreddit, where people share situations and ask if they were in the wrong. Players use a slider to guess what percentage of Reddit users voted that the original poster was the asshole. After submitting their guess, they see how close they were to the actual percentage.

Features

  • Beautiful, Reddit-inspired UI
  • Interactive slider for making guesses
  • Feedback on how close your guess was to the actual percentage
  • Responsive design that works on mobile and desktop

Technical Structure

  • Frontend: React with TypeScript, modern CSS
  • Backend: Hono (lightweight web framework)
  • Data: Currently uses static data, with plans to connect to SQL later

Project Structure

  • /backend/index.ts - The main server entry point
  • /backend/data/posts.ts - Static AITA post data
  • /frontend/components/AITAGame.tsx - The main game component
  • /frontend/components/App.tsx - The root React component
  • /frontend/style.css - Styles for the application

Future Enhancements

  • Connect to a SQL database for storing and retrieving posts
  • Add multiple posts with the ability to cycle through them
  • Add user accounts to track scores
  • Add social sharing features
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.