sesm / nonojure Goto Github PK
View Code? Open in Web Editor NEWWeb application for solving and rating nonongrams.
License: MIT License
Web application for solving and rating nonongrams.
License: MIT License
It would be nice if we had indicator showing that there is some ajax requests in progress so user has feeling that something is going on and app not stuck.
After pressing mouse middle button game stops responding.
Currently state is saved on each change. It's ok with local storage but if we are going to implement remote storage (save on server via ajax) than it may be too heavy to send request with whole state on every change. One way is to implement timer that will save state every 5 (10) seconds.
If user has in-memory AND on-server progress we should carefully merge them together.
When user opens new puzzle all data connected with old puzzle must be GC'ed. Currently channel and all async stuff still alive because it listens to "clear" button thus it's not eligible for GC.
index.html
Extract ui related logic to separate namespace and create protocol for this. This way UI stuff has clearer API and we can potentially implement other widgets, e.g. using canvas instead of tables in future.
If user comes to main page, like http://nonojure.com/
(without sub pages) redirect him to last visited page. Example:
http://nonojure.com
http://nonojure.com/puzzle/aaabbbccc42
http://nonojure.com
http://nonojure.com/puzzle/aaabbbccc42
. If user opened not main page but with specific url then no redirect is needed.Last visited page can be stored in browser local storage, no need to keep it on server I think.
It would be nice if we had more styles.
Filled style can be
Crossed:
Currently url is just http://host/
for both browser and puzzle. It must change depending on current view. E.g.:
http://host/puzzle/123456
- puzzle with id 123456
http://host/browser?filter=size&value=1-10
- browser showing only puzzles with sizes 1-10.
Currently ring-session cookies are has session scope, it means if you restart browser cookies are deleted. We need to set longer timeout so user doesn't need to login every time it enters the website.
We have css for 3 sizes: small, medium and large. The only thing left to do is to implement "switcher" between 3 of them.
Having authentication we can store progress on server.
Currently mongo db's ids are used: 52488bff44aed7d0183a2922
It's better to use consecutive numbers. Random string as id looks a bit weird.
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.