Tuesday, December 05, 2017

StarfallNight

A little game implemented using Bloc in Pharo 6.1. 3 jewels drop from the top.


You can move it left and right by left arrow key and right arrow key respectively. You can rotate the order of the jewels by the up arrow key. The down arrow key will drop the jewels on-to the floor. If the pile of the jewels stack on the floor have 3 or more of the same kind of jewels in a row, column or diagonal, they will vanish out and the jewels on the vanished one will fall down to the floor (or another jewel), which may cause another vanish of jewels.

This game was implemented to learn how to use Bloc. The source code is available at github https://github.com/tomooda/StarfallNight/

No comments:

Post a Comment