Skip to content

MikeCFBDSIR2149/OneButton

Repository files navigation

About

Origins

This is a game, but actually is a school work.
The core is "One Button", that means you can use only one key ("Space") throughout the game.

How to play

Each round lasts 60 seconds. The game ends when the timer reaches zero.
Fruits will constantly appear, tap "Space" to cut a single fruit when it reaches top.
Each time you slice a fruit, a fruit slice will drop onto the cutting board.
In the left side you can see the order board, which displays the required types and quantities of fruit slices.
Press and hold "Space" to throw/push the fruit slices on cutting board into the box, when the types and quantities match with the order, this order is marked as complete and next order will come. At the same time you will get 1 score.
If the types or quantities mismatch, current order will be dismissed and next order come, but you can't get any score.


关于

这是什么?

这是一款游戏,但其实是一个学校作业。
游戏核心是“一个按键”,也就是说整个游戏过程中你只能使用一个键(“空格”)。

游戏玩法

每轮60秒,计时器归零时游戏结束。
水果会不断出现,按下“空格”即可在水果到达顶部时切开一个水果。
每次切水果时,切菜板上都会掉落一片水果片。
左侧是订单板,上面显示需要切的水果片种类和数量。
长按“空格”可将切菜板上的水果片扔/推入框中,当种类和数量与订单相符时,该订单即为完成,下一个订单将到来。同时你将获得1分。
如果种类或数量不匹配,当前订单将被取消,下一个订单到来,但你无法获得任何分数。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •