Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (528)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (594)
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  
  Tile Style (4k entry)  (Read 2334 times)
0 Members and 1 Guest are viewing this topic.
Offline rdcarvallo

Senior Devvie


Projects: 5
Exp: 15 years


2D Java games forever!


« Posted 2006-12-27 13:18:59 »

Hello,

  This is my first entry for the J4K2007. 

  Tile Style is a Puzzle game, your goal is to remove the maximum
number of tiles from the board before time runs out.
  To remove them you must complete its four parts with the same
color. This is done  by swaping adyacent triangles dragging the
mouse. Also you can rotate a tile clicking on it, the button allows
to rotate left or right.

  The link to the game: Webstart

   As always, bugs reports and feedback is welcome.

   Rafael.-

Edit: title
Offline appel

JGO Wizard


Medals: 51
Projects: 4


I always win!


« Reply #1 - Posted 2006-12-27 13:55:18 »

Nice game, took me a while to understand what to do, but once I understood it  - it was a nice game.

I see that the game is only 3.461 bytes, so you have tons of space left. I suggest you do the following change:

Make the game like minesweeper (in windows), so...:
- you can start a Beginner game, Intermediate and Expert (3 difficulity levels) ... that is, so you can choose fewer tiles or many tiles.
- when you remove a tile then no new tile should appear, goal should be to remove all the tiles
- there should be no time limit, rather make the time count from 0 ... so the challenge would be to finish it in as shortest time. I like to take my time to solve puzzles...annoying that I have to start all over again because of a predefined time limit.



Bugs:
- Closing window not possible (ESC works though)

Check out the 4K competition @ www.java4k.com
Check out GAMADU (my own site) @ http://gamadu.com/
Offline rdcarvallo

Senior Devvie


Projects: 5
Exp: 15 years


2D Java games forever!


« Reply #2 - Posted 2006-12-27 14:21:11 »

Thanks for the feedbak,

- you can start a Beginner game, Intermediate and Expert (3 difficulity levels) ... that is, so you can choose fewer tiles or many tiles.
This is planned, board size and colors would increase with the difficulty.

- when you remove a tile then no new tile should appear, goal should be to remove all the tiles
To do this, I would have to generate boards that can be solved. (Currently it's only random generation).

- there should be no time limit, rather make the time count from 0 ... so the challenge would be to finish it in as shortest time. I like to take my time to solve puzzles...annoying that I have to start all over again because of a predefined time limit.
As avobe is necesary to change the goal to change the restriction.

Bugs:
- Closing window not possible (ESC works though)
Less bytes than a windowListener.


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

JGO Wizard


Medals: 51
Projects: 4


I always win!


« Reply #3 - Posted 2006-12-27 15:19:07 »

To do this, I would have to generate boards that can be solved. (Currently it's only random generation).
I think having a equal number of colored triangles (distributed randomly) you should be able to solve the puzzle. So, if there are 100 tiles, and 4 colors.. then you should have 25 triangles for each color.

Less bytes than a windowListener.
I think there is something like JFrame.setDefaultCloseOperation(EXIT_ON_CLOSE).

Check out the 4K competition @ www.java4k.com
Check out GAMADU (my own site) @ http://gamadu.com/
Offline rdcarvallo

Senior Devvie


Projects: 5
Exp: 15 years


2D Java games forever!


« Reply #4 - Posted 2006-12-27 16:07:36 »

I think having a equal number of colored triangles (distributed randomly) you should be able to solve the puzzle. So, if there are 100 tiles, and 4 colors.. then you should have 25 triangles for each color.
The only problem that I see now is if the board has solution, you can always complete the puzzle.
There aren't dead ends (like Free Cell, where all the games has solution, but you can lock yourself).
You cannot lose. So the goal is solving the puzzle in minimum time / minimum moves.
I can do another entry with the rules reversed. Wink

I think there is something like JFrame.setDefaultCloseOperation(EXIT_ON_CLOSE).
Forgot that. may it be because I'm using awt.Frame.

   Rafael.-
Offline Abuse

JGO Knight


Medals: 14


falling into the abyss of reality


« Reply #5 - Posted 2006-12-29 01:51:26 »

Regarding listening for the window closing event...

if you control the awt event delivery system using enableEvents(long eventsToEnable),
and processEvent(AWTEvent e) you can handle all kinds of awt events, with very little size overhead.

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Offline rdcarvallo

Senior Devvie


Projects: 5
Exp: 15 years


2D Java games forever!


« Reply #6 - Posted 2007-02-28 04:54:02 »

New (and last) version.

Added the close window event . (Thanks Abuse)

Now the window can be resized to make the tiles bigger, this feature is for people with
bigger screen resolution where the tiles may become small.

   Rafael.-
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

PocketCrafter7 (14 views)
2014-11-28 16:25:35

PocketCrafter7 (10 views)
2014-11-28 16:25:09

PocketCrafter7 (11 views)
2014-11-28 16:24:29

toopeicgaming1999 (77 views)
2014-11-26 15:22:04

toopeicgaming1999 (67 views)
2014-11-26 15:20:36

toopeicgaming1999 (17 views)
2014-11-26 15:20:08

SHC (30 views)
2014-11-25 12:00:59

SHC (28 views)
2014-11-25 11:53:45

Norakomi (32 views)
2014-11-25 11:26:43

Gibbo3771 (28 views)
2014-11-24 19:59:16
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org 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‑gaming.org
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!