Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (808)
Games in Android Showcase (239)
games submitted by our members
Games in WIP (872)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Blocker 4k  (Read 8951 times)
0 Members and 1 Guest are viewing this topic.
Offline me

Senior Devvie

Projects: 4

Java games rock!

« Posted 2010-12-01 07:46:29 »

Hey all,

Click to Play

 Java 4K link

For this years 4k game competition I want to resurrect my tinyblock project
that failed in the mini game project contest. [ link  ]

Basically it will be a block pushing , block eleminating game and I have
a few directions I want to exploit in the 4k limit.

Not much to show in the 4k limit since today is the start of the competition  Cheesy

Best regards from


Offline me

Senior Devvie

Projects: 4

Java games rock!

« Reply #1 - Posted 2011-01-30 14:36:53 »

Hello All,

In this simple puzzle game you need to match 2 colors
to remove the blocks from the grid.

Click to Play


The focus of this 4k game is on the number of levels.
Unoptimized there are 11 levels at the moment (3674 bytes),
but I aim for around 30 or even more levels.

You can participate in creating levels : LEVEL EDITOR
Login with a name and password and if the account does not exist,
it will ask if you want to create an account.

The 4k game will be static so I would need to copy the levels
from the editor into the game manually, but you can play your own
and other levels in the editor.

In case you beat a high-score I would like to change
the static high-score list to match it. Please leave a
reply or message so that I can manually change it.

Currently tested on:

Safari 5.0.3
Java 1.6

Safari 4.0.3
Java 1.6

ACER Aspire 5740 i5 4GB @ 2.27Ghz
Windows 7                                  
Internet Explorer                          
Java Plug-in 1.6.0_22-b04            

Google Chrome
Java 1.6.0_22-b04

Virtual Machines
SUSE Linux Enterprise 10              
Java 1.6.0_19

Windows XP HE 2002
Internet Explorer 6.0.2600
Java 1.6.0_10

Best regards from


Offline kappa
« League of Dukes »

JGO Kernel

Medals: 123
Projects: 15


« Reply #2 - Posted 2011-01-30 17:38:03 »

oh nice and original, some of the puzzles really get tricky later one.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline krasse
« Reply #3 - Posted 2011-01-30 22:21:24 »

Very nice.

I agree with kappa, the levels are great (only got to level 7 or something though Smiley ).

Offline Mike

« JGO Spiffy Duke »

Medals: 149
Projects: 1
Exp: 6 years

Java guru wannabe

« Reply #4 - Posted 2011-01-30 22:43:12 »

Only got 118 on the 11th level and 204 on the 12th. I did however manage to beat your score on level 6, (24 instead of your 26).

Two suggestions:
skip levels (I want to try more on level 11 and 12 later but don't want to redo them all) ;-)
undo removes one move instead of adding 5. At the moment it is unusable and it's quite annoying when you move one square to far on a level and need to redo the whole thing...

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline me

Senior Devvie

Projects: 4

Java games rock!

« Reply #5 - Posted 2011-01-31 06:36:07 »

Thanks All!
Hopefully I can find even more levels for your enjoyment Smiley

 - levels .. Use ESC to go to the menu, you can select levels there
 - There was a 5 step penalty for using undo. You are the second
   person who wanted it gone, against one who found it challenging
   with the penalty.
   So you now can use undo without any penalty!
   If I get around it and it doesn't cost too many bytes, I might make
   a Menu Option so you can select expert mode or something like that..

Good job on level 6, but it is beaten by my girl-friend again Smiley

Best regards from


Offline bysse

Senior Devvie

Medals: 3
Projects: 1

« Reply #6 - Posted 2011-02-02 02:06:35 »

Very nice game indeed!
Offline me

Senior Devvie

Projects: 4

Java games rock!

« Reply #7 - Posted 2011-02-06 20:49:35 »

Hello WORLD Smiley

Click to Play

Byte count is on 3458

I'm getting confident that I will put 30 levels in the game. The
last levels will probably not be as huge as the world, but maybe I can make
them tricky enough...

Best regards from


Ehh.. No, I didn't make it accurate, and your country is probably not
represented .. my apologies for that!

Offline luisoft

JGO Coder

Projects: 6
Exp: 10 years

Java games rock!

« Reply #8 - Posted 2011-02-10 18:00:36 »

great game! levels are a challenge. Hope you can put 30.

I was looking at your tips for developing 4k games and you mentioned that you created a small program to generate fillrect from an image - to use as a sprite for example. Can share it?
Offline me

Senior Devvie

Projects: 4

Java games rock!

« Reply #9 - Posted 2011-02-10 20:05:37 »

Hello Luisoft,

Thanks. I am confident that I can make it to 30.
I'm on 26 now. If I don't make the levels too large
it should work.

Propably you are referring to my 2010 entry Maze4K that used
a spritesheet. I'm honored that you want to take a look.
You have to do a little digging in the directory where
I host the game:
If you browse to
you will get the source code for the converter tool.
You use it : java getcolor a.gif
My spritesheet:
Click to Play

It will create a file called a.gif.txt with some String code.
You copy-paste this code into your own project where you
decode it.
The file contains the code for the game in which
you will find the technique to create a spritesheet from
this data.

Using strings you can use the compression qualities of
the kzip/7zip tools to make it really small. Riven's tool
is awesome with these strings.

This year I tried to do something clever like: if you see
9 times A write 9A instead of AAAAAAAAA.
It turns out that you can't beat the compression techniques
that are already provided in kZip. At least not without writing
much more decompression code which takes a lot of extra

Funny thing is that some characters compress better than
others. You have to do a little experimentation with your
particular spritesheet. In my case I replaced # with a space
to get the best compression.

Good luck.

Best regards from


Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline me

Senior Devvie

Projects: 4

Java games rock!

« Reply #10 - Posted 2011-02-16 20:29:46 »

Hello All,

On the Java 4k site is the final version of the game.
The goal this year was to fit a large amount of
levels without resorting to logic to create a level.
I aimed for 30 levels and that is what I ended up
having in the game.

Hope you enjoy!

Best regards from


Offline Alan_W

JGO Knight

Medals: 8
Projects: 3

Java tames rock!

« Reply #11 - Posted 2011-02-25 21:47:24 »

Great puzzle game,  I'm a move or two off the high-score most of the time, so need to try harder  Smiley

Time flies like a bird. Fruit flies like a banana.
Pages: [1]
  ignore  |  Print  

mercenarius (3 views)
2020-06-04 19:26:01

mercenarius (2 views)
2020-06-04 19:13:43

Riven (850 views)
2019-09-04 15:33:17

hadezbladez (5834 views)
2018-11-16 13:46:03

hadezbladez (2635 views)
2018-11-16 13:41:33

hadezbladez (6251 views)
2018-11-16 13:35:35

hadezbladez (1504 views)
2018-11-16 13:32:03

EgonOlsen (4739 views)
2018-06-10 19:43:48

EgonOlsen (5797 views)
2018-06-10 19:43:44

EgonOlsen (3282 views)
2018-06-10 19:43:20
A NON-ideal modular configuration for Eclipse with JavaFX
by philfrei
2019-12-19 19:35:12

Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!