Made just for fun. Play it here!
Review on Habrahabr (russian language)
Released under the MIT License
"Catch The Egg" game on JavaScript
Home Page: https://shtange.github.io/catch-the-egg/
License: MIT License
Made just for fun. Play it here!
Review on Habrahabr (russian language)
Released under the MIT License
Use you've won
instead of you win
Ну и не уверен, но кажется, что слишком маленький разброс во времени появления следующего яйца.. В оригинале иногда приходится подумать куда поставить корзинку, так как два яйца могут катиться всего с одношаговым разрывом и даже два яйца с одного лотка.
https://www.youtube.com/watch?v=vGfAsXQ3FuI
нужен звук )
без звука пресно
Если поймать яйцо, а поймав моментально передвинуть волка, по ходу, когда яйцо только-только пропадёт, то можно поймать казус, что яйцо внизу не разбилось, а система посчитала, что ты его всё равно уронил.
Типа как, на лотке уже пропало алгоритмом направляемое в корзину, а корзины там уже нет, не знаю.
As you can read on wiki, when rabbit is shown up, you love have a live, and in this case icon of chicken is blinking.
In original game single button was linked to single location, so you can move from one location to another in single key press. I have made them few months ago, but since that time lot of things has been changed, so here is first and second place where have to make changes. I'll provide full patch if you want to.
Может логичнее подписать это как «Controls»? Всё таки это не описание процесса игры, а клавиши управления…
This is required for DRY principle, as each tray should be able to contain more than single egg, and for generating set of possible values of data-egg-<tray number>="<eggs positions>"
is it better to use less/sass.
To support any number of eggs for each tray, there should be following set of data attributes, where egg's positions sorted in ascending order.
data-egg-1="1"
data-egg-1="2"
...
data-egg-1="5"
data-egg-1="1,2"
data-egg-1="1,3"
data-egg-1="1,4"
data-egg-1="1,5"
data-egg-1="2,3"
data-egg-1="2,4"
...
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.