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

Report as inappropriate.

danpost
danpost presents ...

2011/6/10

Dots and Boxes

Connect the dots: click between dots to show connector.
Take control of a box: complete the box to own it.
Gain the most space: First one to control more than half the boxes wins, but play out to the end.
Players take turns making connections, one at a time.
When completing a box, that player must make another connection.
(In other words, a player's turn continues as long as he continues to make connections that complete a box; once he makes a connection that does NOT complete a box, that player's turn ends).

Due to inability to run (Deployment exception) with later versions of greenfoot. and loss of code (on old computer that died), this project was recreated from scratch and replaced in mid-June 2015.

CONTROLS (added mid-June 2015 during recreation):

Press "escape" at any time to start a new game. A dialog box will appear to allow changing of grid size, who goes first, giving proper names to players and setting colors.

4046 views / 14 in the last 7 days

3 votes | 0 in the last 7 days

Tags: mouse game 2-player danpost dots-n-boxes

This scenario is a member of: Games by danpost, Graphical User Interface


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.

danpostdanpost

2012/5/26

@Duta, I cannot be sure. It was too long ago. This was like my 3rd project in Greenfoot. I am not sure if I was using static variables at that point. However, I noticed I had said that it compiled different each time; which indicates that it was probably something else.
A new version of this scenario was uploaded on 2015-06-17 04:28:55 UTC
A new version of this scenario was uploaded on 2015-06-17 04:31:14 UTC
A new version of this scenario was uploaded on 2015-06-17 05:30:02 UTC
A new version of this scenario was uploaded on 2015-06-17 17:08:12 UTC
A new version of this scenario was uploaded on 2015-06-17 17:20:08 UTC
danpostdanpost

2015/6/17

Newly implemented: resizable grid; name changing; color switching; and position switching (who starts). See description.
A new version of this scenario was uploaded on 2015-06-19 08:18:41 UTC
A new version of this scenario was uploaded on 2017-05-31 19:40:48 UTC
dadansidadansi

2017/5/31

Master ,, Please tell me library for compile game in greenfoot to android besides droidfoot. please help meeee master :(((((

See all comments

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

Who likes this?

IsVarious kiarocks drhorriblejr