• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
alexwein

alexwein

thinkalittlelonger

a little game where you think of big words
Public
Like
thinkalittlelonger
Home
Code
5
frontend
6
scripts
2
towniePrompts
3
README.md
H
index.ts
Branches
1
Pull requests
Remixes
History
Environment variables
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
/
towniePrompts
/
todo.md
Code
/
towniePrompts
/
todo.md
Search
…
Viewing readonly version of main branch: v223
View latest version
todo.md
  • i have added an integer field game_id to the rounds.ts data. It is currently always set to 0.
  • Change the structure of the game_results table so that game_id is an int. change the db init code as well. you can drop the existing table as a one-off
  • eventually there will be more games than id = 0, so update frontend code and anywhere else to use the game_id from the rounds data.

-- create a preGame.tsx component and refactor App.tsx to use the component. There should be no changes to the app's behavior

make the following changes to the preGame view.

Here is the desired structure within the gameContainer:

  • header
  • instructions
  • Title
  • playButton
  • notes - smaller text with 3 list items:
    • Wordnik Disclaimer, for now just say "Valid words the Github-hosted wordlist from Wordnik" https://github.com/wordnik/wordlist
    • LLM disclaimer: just say "I relied on LLM assistance significantly in building this. It still feels like "made" the game, but if LLMs aren't your thing,
    • I tried to keep all my input the towniePrompts directory of my project:
    • Made on/with val town : source code

text for instructions:

How to play.

  • You'll be given a constraint (like: ends with FISH)
  • Try to think of a long word that fulfills the constraint (like: CUTTLEFISH)
  • If the word is in the dictionary, you'll get one point for each letter (CUTTLEFISH is worth 10 points)
  • there are five rounds and no time limit. So feel free to...

---end text for instructions---

Adjust the html and CSS so that the elements fill the full width and height of gameContainer in a visually pleasing way. The title should be roughly in the center of the screen.

  • tweak the layout so the final list item is still visible on safari on an iphone mini

  • adjust the css so that the pre-game-title is significantly more prominent

  • adjust the keyboard: swap positions so that the backspace is on the right M and the arrow keys are to the left of Z.

  • please fix this error I encountered when I tried to submit with club:PIETEST and user:AWTHREE: "Unexpected token '<', " <"... is not valid JSON"

improve input from physical keyboard

  • browser shortcuts shouldn't be overrode
  • as an example if the user tries to refresh the page with cmnd+R, it will not work, and instead R will be added to currentGuess.

postGame tweaks:

  • Remove the "play again" button from postGame view
  • The postGame view should include the keyboard component and use that for input of club and username.
  • After a the user submits to the leaderboard, navigate directly to the leaderboard instead of having handleViewLeaderboard behind a button.
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.