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

Report as inappropriate.

imacat
imacat presents ...

2012/5/26

Solitaire 接龍

A simple solitaire game, for demostration of learning object-oriented programming.
Please log in, to record and show your highest score.
簡單的接龍遊戲,物件導向程式設計示範教學用途。
請申請帳號後登入,以便顯示記錄你的最高分數。

7669 views / 11 in the last 7 days

5 votes | 0 in the last 7 days

Tags: game with-source

open in greenfoot

There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.

A new version of this scenario was uploaded on Sun Jul 01 14:19:49 UTC 2012 * Reorganized with the teaching plan.
A new version of this scenario was uploaded on Thu Jul 19 17:29:29 UTC 2012 * Added high scores and ranking, using UserInfo from Greenfoot 2.2.
A new version of this scenario was uploaded on Thu Jul 19 17:45:45 UTC 2012 * Updated an score board offset error when user is not logged in.
winnerpigwinnerpig

2012/7/20

台湾美眉的作品呵,顶起!
A new version of this scenario was uploaded on Sun Jul 22 04:14:05 UTC 2012 * Moved all the score board functions to the ScoreBoard class, keeping the code clean.
A new version of this scenario was uploaded on Sun Jul 22 04:41:10 UTC 2012 * Use addToWorld() instead of the constructor in ScoreBoard. It is more natural and easier to obtain the world from addToWorld().
imacatimacat

2012/7/29

winnerpig: 謝謝~ ^_*'
MatheMagicianMatheMagician

2012/9/29

Could you make it so that instead of flipping over the cards on at a time, it flipped over three, but you can use the card on top!
imacatimacat

2012/9/30

MatheMagician: If you look into the code, that part is easy. ^^; I did not do that because that is not part of the subjects I would like the students to learn about. Students can does that themselves, if they like.
danpostdanpost

2012/9/30

There is a bug, in that buried cards can be moved to the ward with over cards going there also. That is, a 6h-5c-4d can be moved to Ah-2h-3h-4h-5h, making it Ah-2h-3h-4h-5h-6h-5c-4d; the 5d can then be played there (with cards above it, if any).

See all comments

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

Who likes this?

birdy MatheMagician Antonio Upupzealot jean