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

Report as inappropriate.

imacat
imacat presents ...

2012/6/16

Light 點燈遊戲

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

4435 views / 14 in the last 7 days

3 votes | 0 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 Tue Jun 19 02:49:26 UTC 2012 * Use alpha transparency in the text message. 文字訊息改用半透明。
A new version of this scenario was uploaded on Tue Jun 19 18:18:16 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:11:23 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.
A new version of this scenario was uploaded on Fri Jun 29 18:47:55 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?

birdy Moritz jean