Skip to content

JohnB/spring83

Repository files navigation

Spring83 & Other Projects

No Maintenance Intended

While this started out as an attempt at a Spring83 server, my forced shift from Heroku to Fly.io has allowed me to move existing projects (usually just a few main files) to migrate here.

General Roadmap

  • Upgrade liveview?
  • Add Bamboo mailer to send myself a daily pizza email

Collaborative Canvas

Now at /collaborative_canvas. The code used to be in a clone of phoenix_live_view_example.

Roadmap

  • Replace CSS animation for just-placed pieces.
  • Add a [?] modal to describe it

Pizza Bot

Now at /pizza (now fast due to caching in long-running Agent).

Roadmap

  • Switch FakeCron to quantum
  • Cache the pizza data on server restart, for a faster /pizza page load.
  • Update previous repo(s) to point here.
  • Bug my friend for their email address for the daily email
  • Add Greek Theater
  • Add the LA Greek Theater
  • Add a [?] modal to describe it

Kenken

Now at /kenken.

Roadmap

  • Fix CSS for cells
  • Add a [?] modal to describe it
  • Make sure each grouping's result is valid (how?) Just add some CSS when they've selected one value per square, and it matches the actual answers.
  • Change entire CSS to be in view units so it works on mobile
  • Remove solving-button border until selected
  • Use pubsub to post answers so everyone can see the live edits
  • Verify at setup that all answers are filled and don't conflict.
  • Track groupings within the puzzle.
  • Make sure each grouping's result is valid (how?) Just flash the CSS when they've selected one value per square, and it matches the actual answers.
  • Reproduce refresh bug in the middle of trying to solve the puzzle.
  • Handle refreshes while solving (set a cookie and save their guesses?)

Pentomino Game

Not yet moved over here from phoenix_live_view_example

Roadmap

  • Move it over
  • Make it work better
  • Update previous repo(s) to point here.

Spring83

Elixir attempt at implementing the Spring83 Protocol. Found at /boards.

Example boards and clients:

Reading board data

The server will just return HTML unless one provides the correct Spring-Version: 83 header. Like this:

curl -H "Spring-Version: 83" https://bogbody.biz/f1d76c53a050dafb9e1f10683bd274b0b4afbcc5afd5198748786fb8983e0123

Roadmap

(not necessarily in implementation order)

  • Correctly parse/display a full SpringFile
  • Correctly parse a board, rejecting invalid ones
  • Improve board display
  • Enable SpringFile editing
  • Enable board editing
  • Store SpringFile in the DB
  • Store cached boards in the DB
  • Periodically re-fetch cached boards
  • Expire boards when necessary

SF Street Food

Available at /street_food (for a job I didn't get - ignore the google watermarking - it works fine)

NOTE: Data is from a static file downloaded 6/1/2023 and likely won't be ever updated here.

About

Client for Robin Sloan's Spring83 protocol and other random stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors