mmertsock / eskergames Goto Github PK
View Code? Open in Web Editor NEWJavaScript games. 100% from scratch game engine, as a means of keeping my JS skills fresh
Home Page: https://mmertsock.itch.io
License: Other
JavaScript games. 100% from scratch game engine, as a means of keeping my JS skills fresh
Home Page: https://mmertsock.itch.io
License: Other
Don't add moves to move history, increment the move count, etc., when user input results in invalid no-op moves:
Render the same way as hint tiles
Invoke the native share prompt
https://itch.io/docs/creators/html5
“Clicked a mine on first move: shuffling” is looping forever
https://github.com/mmertsock/eskergames/blob/main/.github/workflows/deploy-main.yml - pin the action mentioned in uses
using a SHA hash or whatever, to ensure integrity of external dependency
if (!Game.isItch)
— have a Leave a Tip button that links to itchMissing thousands separator in a few places:
a.tool.new:before
CSS rules. Causes the whole UI to shift by a pixel or two in Safari.
[Warning] Canvas area exceeds the maximum limit (width x height > 16,777,216). (g.js, line 348)
Currently a 40 x 52 game = 3600 x 4680 canvas raw pixel size = 16,848,000. 1200 x 1560 CSS size.
16,777,216 means 2^24 canvas pixels allowed. Max game board size is 4096 tiles, so that's 4096 canvas pixels per tile allowed, or 64x64 raw pixels. But currently it's 90x90 = 8100 pixels/tile in touch mode on a 3x display.
Options to fix this:
https://github.com/jhildenbiddle/canvas-size#test-results shows 4096x4096 total size is indeed the limit on iOS Safari, and no other browser has a similar or smaller limit.
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.