No description
- JavaScript 95.1%
- HTML 4.7%
- CSS 0.2%
| assets | ||
| lib/jasmine_examples | ||
| modules | ||
| notes | ||
| spec | ||
| .eslintrc.json | ||
| .gitignore | ||
| app.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| plan.md | ||
| README.md | ||
| rules.txt | ||
| style.css | ||
| taskbar.md | ||
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 stackRender a ball graphicMake that ball graphic alert on clickMake that ball bounce on clickRender a jack-like objectMake that jack-like object do something on click after clicking on ballMake 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 itAdd 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