natchiketa / jeepers Goto Github PK
View Code? Open in Web Editor NEWA word-forming game like Bookworm or WordWeb. Mainly DOM-element based, using jQuery, CSS transforms and some use of the `canvas` element for effects.
License: Other
A word-forming game like Bookworm or WordWeb. Mainly DOM-element based, using jQuery, CSS transforms and some use of the `canvas` element for effects.
License: Other
Dragging around to spin the column causes elements in the page to be selected. Undesirable!
Remove used tiles, drop in new ones
Currently, if you trace back over letters that have been selected, they are simply selected again, and appended to the the existing string..
There needs to be logic that checks to which position the pointer has returned, and remove letters after that position.
Currently, the rendering of the tiles themselves is done in the requestAnimationFrame
callback, but other things like the toggling of tile styles is being done in various event handlers and in Jeepers
tile-related methods in some cases.
Although the goal for this issue is as stated, it part of a larger goal to decouple the logic in Jeepers
from the rendering of the DOM, that is except for the callback.
This will mean that much like how the current word selection is stored in the SELECTION
array, really the entire state of the stage should be stored in the Jeepers
object, not in the DOM.
The only use of data-attributes to describe the tiles as game entities should be for the purpose of exposing it to the CSS (e.g. the data-char
attribute allows the tile's pseudo-element to display the character).
Pick and implement a technique for making the tiles hexagons. Since the contents of the hexagon are a letter, it should be oriented like this:
So that the letter's baseline runs parallel to something.
Some possibilities I've thought of so far:
:before
and :after
to render the whole thing, and there may be glitches with that approach.text-shadow
.When selection is finalized, it should be a full word, not just a match for the beginning of a word, as during selection.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.