Listen|Listen - Various sounds
This is an application suitable for children’s enlightenment education and broadens their horizons.
Into the application you can select an animal or instrument, and you can play the corresponding sound;
文章图片
文章图片
What this framework does for you:
Storesgame state, like cells on game board, falling blocks, time intervals, and score.
Generatesnext blocks with random shape and orientation, while avoiding simple repetition.
Managestimerthat can be pauses and resumed.
Exposes4 controls: moveLeft(), moveRight(), rotate() and drop().
Detectscompleted linesand increments score. Higher score speeds up the timer.
Reports all events via acallback, like periodic fall, line completion, game over, etc.
Allowsserializationto and from a dictionary that is compatible with property list.
What you need to implement:
【Listen|Listen - Various sounds】Graphicsand animations. Be creative!
Userinput, like buttons or gestures.
Write serialized dictionary topersistentlocation and restore it.
Create gamemenuwith play/pause/reset options.
Listen tocallbackfrom the engine and update your UI.
Show next block andscoreon screen.
推荐阅读
- Quartz|Quartz 源码解析(四) —— QuartzScheduler和Listener事件监听
- vue.js|vue.js window.removeEventListener 移除
- java|ApplicationListener和SpringApplicationRunListener的联系
- Level5-Unit3-Part2-Listening
- java|鼠标动作监听类MouseListener
- 微服务框架ServiceComb 之BootListener
- Angular|Angular @HostListener 装饰器的使用笔记
- [Guava]ListenableFuture的使用
- Android中使用Animation实现控件的动画效果以及Interpolator和AnimationListener的使用
- Vue封装组件利器之$attrs、$listeners的使用