No description
  • JavaScript 95.1%
  • HTML 4.7%
  • CSS 0.2%
Find a file
2024-08-25 15:18:40 -07:00
assets Add random picture to background on load 2022-10-13 10:18:25 -07:00
lib/jasmine_examples Using ES Modules and Vanilla JS 2022-04-10 14:44:18 -07:00
modules Add JSDoc to all other files 2022-10-24 12:49:05 -07:00
notes Add jack, sprites, and "gameplay" 2022-04-11 07:24:54 -07:00
spec Update README, remove annoying console in test 2022-10-22 10:24:53 -07:00
.eslintrc.json Alter eslint rules 2022-10-14 15:03:42 -07:00
.gitignore Using ES Modules and Vanilla JS 2022-04-10 14:44:18 -07:00
app.js Add JSDoc to app file, change one func name 2022-10-24 12:47:36 -07:00
index.html Rename level to startingLevel for clarity 2022-10-17 16:01:15 -07:00
package-lock.json Update packages, remove yarn 2024-08-25 15:18:40 -07:00
package.json Update packages, remove yarn 2024-08-25 15:18:40 -07:00
plan.md Fix plan 2022-06-08 19:32:47 +01:00
README.md Add task to README 2022-10-24 12:50:22 -07:00
rules.txt Finish adding the actual rules 2022-10-17 12:05:21 -07:00
style.css Add jack, sprites, and "gameplay" 2022-04-11 07:24:54 -07:00
taskbar.md Add notes 2022-11-28 09:40:13 -08:00

Jacks

I used to play this game that my dad got from his old job. It was just the game of jacks on Windows 3.1, clicking around a ton with the mouse. It was chaotic and fun for about 5 minutes at a time, so why not do it again.

Plan

  • Determine tech stack
  • Render a ball graphic
  • Make that ball graphic alert on click
  • Make that ball bounce on click
  • Render a jack-like object
  • Make that jack-like object do something on click after clicking on ball
  • Make background image like the original game (room, picture frame)
  • Make ball graphic more like the game (gradients, light reflection)
  • Use actual jacks rules and not what I remembered when thinking about it
  • Add some kind of pub/sub for gameState changes? So far would be useful for changes in levels, win/lose, maybe others?
  • Put ball and ball shadow into a container
  • Add level change (dropdown, then in taskbar)
  • Add a jack placing function, extract existing in app.js
  • Make shadow more accurate to a different light angle
  • Add difficulty levels (dropdown, then taskbar)
  • Add black and white mode
  • Make canvas maximum size and otherwise resizable
  • Make game possible on mobile?
  • Make an SVG of a jack and a ball that can be modified into PIXI
  • Create a dialog box for win/lose (like Windows 3.1)
  • Implement a win/lose mechanic on click