This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

imacat
imacat presents ...

2012/6/16

Light, Unlimited 點燈遊戲 無限版

依Greenfoot教師工作坊(五),華江高中吳秉鋒老師的分享改寫設計。
時間:2012/6/15(五) 14:00
地點:南港高中資訊教室
依亂數製作關卡,關卡數無上限。

3292 views / 19 in the last 7 days

Tags: game with-source

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Sat Jun 16 16:00:02 UTC 2012 * 抽掉部份燈泡。 * 修正避眼遊戲開始就全亮。
A new version of this scenario was uploaded on Tue Jun 19 02:53:28 UTC 2012 * Use alpha transparency in the text message. 文字訊息改用半透明。
sp33dysp33dy

2012/6/19

Love it. I can't read a word of chinese, but was able to figure out the game! Basically click a bulb on and all surrounding on bulbs turn off. Mission is to turn them all on.. Great stuff!
danpostdanpost

2012/6/19

Just to clarify: switch a bulb on or off by clicking on it, and all the bulbs next to it, horizontally and/or vertically, switch states (from on to off, or from off to on, depending on their starting state). It is part of the all-ones collection of games, so, yes, the object is to turn them all on.
A new version of this scenario was uploaded on Tue Jun 19 18:19:34 UTC 2012 * use Color(int, int, int, int) instead of Color(float, float, float, float), for simplicity.
A new version of this scenario was uploaded on Wed Jun 20 08:12:22 UTC 2012 * Use boolean to check the lights instead of integer sum, to simplify. * Change all the fields to private, to follow the Greenfoot book's convention.
imacatimacat

2012/6/20

sp33dy, danpost: Yes. And thank you for your explanation on the rules. This scenario is intended to share with our local teachers. Sorry it is not in English. I hope you enjoy it! ^_*'
A new version of this scenario was uploaded on Fri Jun 29 18:48:52 UTC 2012 * Stopped keeping track the light bulb list. The light bulbs can be obtained from getObjects(). * Uses boolean instead of int to check if all the lights are one.

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.