Love Buy Fun-Easy & fun

Angela hard work, because her boyfriend betrayed her, in a huff, she began her revenge plan. Sweet vengeance, began to restore her hard work, this is a surprising clothing store, the player's mission is to help Angela take care of the store, ready to capture the presence of rats to complete the task of this week!    

What this framework does for you:

Stores game state, like cells on game board, falling blocks, time intervals, and score.

Generates next blocks with random shape and orientation, while avoiding simple repetition.

Manages timer that can be pauses and resumed.

Exposes 4 controls: moveLeft(), moveRight(), rotate() and drop().

Detects completed lines and increments score. Higher score speeds up the timer.

Reports all events via a callback, like periodic fall, line completion, game over, etc.

Allows serialization to and from a dictionary that is compatible with property list.

What you need to implement:

Graphics and animations. Be creative!

User input, like buttons or gestures.

Write serialized dictionary to persistent location and restore it.

Create game menu with play/pause/reset options.

Listen to callback from the engine and update your UI.

Show next block and score on screen.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容