Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions blinkywww/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Playwright
node_modules/
test-results/
playwright-report/
blob-report/
playwright/.cache/
29 changes: 28 additions & 1 deletion blinkywww/README
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
This is the code that runs the Blinky Programmer website:
http://www.wayneandlayne.com/blinky_programmer/

Sorry that the code is probably really awkward or doing lots of things wrong. We're not really web developers, and only know enough to get by (also known as "knowing just enough to be dangerous").
We wrote this code circa 2010? It could use some love.

# Development

Try `npm install` to install the dependencies. If you don't have npm installed, you can try that.

`npm install`

You can serve the site locally with `npm run start` which starts a local web server at http://localhost:3000.

## Testing

We use Playwright. You can run `npm run test` but you can also use `npx playwright test` to run the tests directly.

# TODO (before merging this in)

* Flexbox for the layout
* Remove all floats
* Test on small screens
* Try requestAnimationFrame instead of setTimeout
* Adjust text, visual design
* Maybe pull the images for LED and use background color on round divs instead?
* Add more pixel mode tests
* multiple messages
* mixed pixel and text messages
* all the pixel options
* delete some lines, add some lines
* make sure the clicked pixels are "on" and the others are off
* Test on a real Blinky
Loading