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:

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.

最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • The Inner Game of Tennis W Timothy Gallwey Jonathan Cape ...
    网事_79a3阅读 13,370评论 3赞 20
  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 8,233评论 0赞 10
  • 文/枯骨向尘 前文指路 四 世事,如同一个个意料之外的点,只有在经了时间的串联之后,猛一回头,才能发现其内的理所应...
    枯骨向晨阅读 343评论 0赞 7
  • 夫妇 父子 家道 团队 企业 中的误会 矛盾 来自于 事情没有按照自己的想法来发生时 自己的第一想法就是 对方是坏...
    一辈子一件事美乐田园阅读 921评论 1赞 7
  • 太阳像蛋黄一样挂在树梢,下班的人群有的骑着自行车,有的步行,有的开车,都回到小区。老人推着小朋友的,牵着宠物狗的在...
    尘寰半秋阅读 653评论 0赞 1

友情链接更多精彩内容