cdroulers / block-fly Goto Github PK
View Code? Open in Web Editor NEWBlock Dude, with Flies!
Block Dude, with Flies!
Lots of feedback that controls are not known. Show a short popup on first visit with basic controls.
Have a move history so we can record a level playthrough and replay it.
Will be useful for showing AI paths at some point
For kids (and fun!)
Animate a few fireworks a-sploding when finishing a level!
For the moment, when I run npm test
I have this error :
> [email protected] test C:\dev\block-fly
> cross-env NODE_ENV=test mocha --require build/test/testHelpers.js "build/test/**/*spec.js"
module.js:472
throw err;
^
Error: Cannot find module 'build/test/testHelpers.js'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at C:\dev\block-fly\node_modules\mocha\bin\_mocha:345:3
at Array.forEach (native)
at Object.<anonymous> (C:\dev\block-fly\node_modules\mocha\bin\_mocha:344:10)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:420:7)
at startup (bootstrap_node.js:139:9)
at bootstrap_node.js:535:3
npm ERR! Test failed. See above for more details.
When I look in my build
directory, there is no test
subdirectory.
How do I create it and how do I get the testHelpers.js
file ?
In levelControls.ts
. Probably add some testing?
resize properly for everything is visible. Allow paning with swipes and udal-touch or whatever.
When you finish one, load the next!
Use a service worker to get everything set up, be happy with life.
Allow signing in (with Auth0 or another external provider) and save latest levels and whatnot in the storage it offers.
Has to still work offline!
To know where we are.
The canMove
doesn't check the block over the player when moving left or right and simply swaps it! Means we can go under a wall with a block!
### B#
# P#
######
Moving left twice shows the bug!
Material design style. Probably have the game be its own page. Use floating hamburger menu to show controls and level functionality in full page popups that become scrollable.
Entering a password or other text boxes don't respond to hitting enter because they aren't in a form.
Add a form and bind the events to formSubmit instead of button clicked!
To navigate within a set of levels. Either going back or entering password for higher levels.
Use localStorage or whatever to save progress by default!
Otherwise, if you change level set and come back to a set you already passed a few levels, you start at the beginning!
With new dependencies and bluebird, make sure things go in vendors.js and app.js with the appropriate CSS everywhere.
Probably shoudl have two CSS bundles too!
To test ui buttons and whatnot. Tests are only on game logic so far.
Basic functionality with touch events on the four sides of a phone.
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.