/CreateFour

Connect Four Meme Fantasy Console, wait what

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

CreateFour

Connect Four Meme Fantasy Console, wait what

try it

Why?!

Wh

Inspired off this post on me_irl, I thought "hey what if you could program that board to display things with connect four checkers

Features

  • 5 button controller (a dpad and a button)
    • 0: up
    • 1: down
    • 2: left
    • 3: right
    • 4: space
  • 7 x 6 screen
  • 4 colors (clear, red, yellow, black)

How to use

Type Javascript code into the box, change pixels with setPixel(x, y, c), read pixels with c = getPixel(x, y). Buttons are in an array and count up the longer you press them (button[0 -> 4]) For more info, check the actual create four page.

Future Plans

  • Actual documentation (a small guide below the code editor)
  • Don't crash if you try to draw a pixel out of bounds
  • text(s, x, y, c) function
  • black
  • XSS security
  • saving and loading, maybe even sharing
  • completely resetting the variables when you run

Credits

  • Me - the coding and base images
  • BoardGameGeek - the image of the Connect Four box art
  • Some shady site - the font