×

Discussion Board

Results 1 to 15 of 15
  1. #1
    Super Contributor
    Join Date
    Mar 2003
    Location
    Espoo, Finland
    Posts
    976

    [Update] Unity 1.10 (game)

    Greetings,

    http://jouni.miettunen.googlepages.com/unity

    Version 1.10, release date 2008-10-15

    • Settings complete rewrite
    • Settings username added
    • Some code clean-up and speed-up


    Unity was originally invented in Japan 1985 as "Chain Shot!" by Kuniaki Moribe. After that it has spread all over the world with names such as SameGame, TumeGame, KomeGame, MameGame, DebaGame, TileFall, Cabeem, MaciGame, GD-BMD etc.

    The idea is to clear the whole playing area by removing tiles in groups. The more tiles you remove at the same time, the more points you get. The trick is that the scoring system is exponential:

    1 tile - cannot be removed
    2 tiles - (2-2) ** 2 == 0 points
    3 tiles - (3-2) ** 2 == 1
    4 tiles - (4-2) ** 2 == 4
    5 tiles - (5-2) ** 2 == 9
    ...
    n tiles - (n-2) ** 2 == Lots of points

    Tip: As you can see you should remove small groups in order to
    create larger groups. When the group is big enough even just one
    more tile will make a big difference.

    When you remove tiles, the space will be filled by tiles above
    falling down. Empty columns will be filled by sliding remaining
    columns to left. If you manage to clear the whole field, you will
    get 1000 points as a bonus and go to next level.

    Usage

    Use arrow keys (joystick) to move the white selection rectangle around the board.

    Press Select (joystick) to make a selection to remove tile and all neighbouring tiles with same color.

    Press Backspace (C key, Clear key) to undo one last move.

    Press Star (*) to save a screenshot into C:\Data\Images

    Enjoy,

    --jouni

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Espoo, Finland
    Posts
    976

    Re: [Update] Unity 1.10 (game)

    ...and then some explanations

    Version 1.10 is basically "just" a bugfix release. There was supposed to be more, but things got complicated and I just run out of hours in the night. Therefore the other new stuff was removed, just a few uncompleted lines, and I release this here and now.

    Made my first blog writing ever about that, at croozeus.com Yep, as FNC I can now blog at Forum Nokia, too, but I figured this kind of dead-tired developer ranting after getting through a tilewall might not be the right material for FN.

    Cheers,

    --jouni looking forward to S60 Unity v2.00

  3. #3
    Regular Contributor
    Join Date
    Sep 2005
    Location
    Finland, Helsinki
    Posts
    323

    Re: [Update] Unity 1.10 (game)

    Quote Originally Posted by JOM View Post
    http://jouni.miettunen.googlepages.com/unity
    Version 1.10, release date 2008-10-15
    Jouni, you should really implement "check for updates" and "update" features (at least in script version). It would save some time for people who wants to update unity. It could work something like this:

    "Check for updates" simply fetches latest version from jouni.miettunen.googlepages.com/unity/latest_version.txt and compares it to current __VERSION__ in the unity.py.

    "Update" downloads http://jouni.miettunen.googlepages.com/unity.py and saves it over current E:\Python\unity.py

    :-)

  4. #4
    Super Contributor
    Join Date
    Mar 2003
    Location
    Espoo, Finland
    Posts
    976

    Re: [Update] Unity 1.10 (game)

    Quote Originally Posted by aaaaapo View Post
    Jouni, you should really implement "check for updates" and "update" features (at least in script version). It would save some time for people who wants to update unity.
    Excellent idea

    My roadmap is:
    • v2.0 - Sensor API support
    • v3.0 - website for highscore sharing


    Check For Update would be easy to do, when people upload their own highscore on server!

    Thanx,

    --jouni

  5. #5
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    214

    Re: [Update] Unity 1.10 (game)

    Quote Originally Posted by JOM View Post
    My roadmap is:
    What would a good journey be without some sidetrips here and there

    • v2.0 - Sensor API support
    • v2.1 - Optional Cursor Wrap
    • v3.0 - website for highscore sharing


    (No, I won't keep on naggin', promised. )

  6. #6
    Super Contributor
    Join Date
    Mar 2003
    Location
    Espoo, Finland
    Posts
    976

    Re: [Update] Unity 1.10 (game)

    Quote Originally Posted by Le Pharao View Post
    What would a good journey be without some sidetrips here and there

    • v2.1 - Optional Cursor Wrap[/SIZE]

    (No, I won't keep on naggin', promised. )
    Heh, added on roadmap Since I got Settings class working and the old wrap-around code is in backup, won't be a problem to add it to next version. Hopefully this weekend, since I'll be in London Mon-Thu (Symbian Smartphone Show 2008) and won't have time to code anything.

    Thanx for reminder,

    --jouni

  7. #7
    Regular Contributor
    Join Date
    Sep 2005
    Location
    Finland, Helsinki
    Posts
    323

    Re: [Update] Unity 1.10 (game)

    Quote Originally Posted by JOM View Post
    - - when people upload their own highscore on server!
    Hey now I figured out how to prevent people fooling their highscores!

    Make unity send (instead of just highscore) all play fields plus the coordinates which user clicked during the play. Then you can replay the game on the server and test if those coordinates result the same score.

    If you use 3 bits per brick the biggest play field is only 20*24/8*3=180 bytes plus clicked coordinates.

    :-)

  8. #8
    Super Contributor
    Join Date
    Mar 2003
    Location
    Espoo, Finland
    Posts
    976

    Re: [Update] Unity 1.10 (game)

    Quote Originally Posted by aaaaapo View Post
    Hey now I figured out how to prevent people fooling their highscores!
    I like it Also coordinate is just a number, max 20*24 == 480 == 111100000 binary (9 bits) Hmph, even 20*20 goes over well 8 bits ... which is obviously max 256 values, now that I think about it

    Added on mindmap, maybe for v3.1. Got to have server support first

    Thanx,

    --jouni

  9. #9
    Registered User
    Join Date
    Sep 2008
    Posts
    36

    Re: [Update] Unity 1.10 (game)

    You could implement LZW compression (it's a fun algorithm) to store the grids and then use use 10 bits for coordinates (5 for x and 5 for y) for each click

  10. #10
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: [Update] Unity 1.10 (game)

    Hello JOM

    In the roadmap could you add this feature :

    - The application *should* determine when you can't finish a level !
    Even if you can go back one movement sometimes it didn't help so until now you have to KNOW YOURSELF that you can't finish the level and restart a game

    Thanks for the default name in the option (it's easier now !)

    Happy programming
    Cyke64
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  11. #11
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,800

    Re: [Update] Unity 1.10 (game)

    Quote Originally Posted by cyke64 View Post
    Even if you can go back one movement sometimes it didn't help so until now you have to KNOW YOURSELF that you can't finish the level and restart a game
    I agree, I haven't seen UNITY beyond level 8 !

    Having an Continue option should help,


    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  12. #12
    Super Contributor
    Join Date
    Mar 2003
    Location
    Espoo, Finland
    Posts
    976

    Re: [Update] Unity 1.10 (game)

    Quote Originally Posted by croozeus View Post
    I agree, I haven't seen UNITY beyond level 8 !
    Having an Continue option should help,
    Heh, just finished testing version 2.10 Got easily onto level 14 in "normal" board size. Small was supposed to be tough, got onto level 15 without trying too much

    Detecting whether game is over was on roadmap, but won't get onto next release. Adding sensor support made dead-ends more difficult, have to play few hundred rounds first to identify remaining dead-end patterns - and figure some way to get around those, too

    Sorry, no release today. Let's try tomorrow night..

    Happy and tired,

    --jouni

  13. #13
    Super Contributor
    Join Date
    Feb 2008
    Location
    Belo Horizonte, Brazil
    Posts
    744

    Re: [Update] Unity 1.10 (game)

    Hi, Jouni.

    Man, Unity is just great

    Sometimes I preffer playing it than the N-Gage games.

    It's just addictive, well-coded and difficult, haha.

    Oh, by the way, I sent you an email!


    Also happy and tired,

    Rafael.

  14. #14
    Super Contributor
    Join Date
    Mar 2003
    Location
    Espoo, Finland
    Posts
    976

    Re: [Update] Unity 1.10 (game)

    Quote Originally Posted by Rafael T. View Post
    Man, Unity is just great
    Sometimes I preffer playing it than the N-Gage games.
    Thanx Rafael, that's great to hear! My initial goal was to prove that it's possible to write commercial quality apps with python. Guess I'm getting there

    Cheers,

    --jouni who just made a new release

  15. #15
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: [Update] Unity 1.10 (game)

    Quote Originally Posted by JOM View Post
    Thanx Rafael, that's great to hear! My initial goal was to prove that it's possible to write commercial quality apps with python. Guess I'm getting there

    Cheers,

    --jouni who just made a new release
    hi Jom
    ya you have really proved that with unity and and also proved the point that python is no where behind.

    Enjoy Pythoning
    Gaba88

Similar Threads

  1. [Update] Unity 1.00 (game)
    By JOM in forum Symbian
    Replies: 8
    Last Post: 2008-10-14, 03:48
  2. [Update] Unity v0.5 (game)
    By JOM in forum Symbian
    Replies: 5
    Last Post: 2008-09-30, 01:54
  3. [Update] Unity v0.3 (game)
    By JOM in forum Symbian
    Replies: 9
    Last Post: 2008-09-23, 19:17
  4. [Update] Unity v0.2 (game)
    By JOM in forum Symbian
    Replies: 7
    Last Post: 2008-09-10, 07:50
  5. Great game Wappo
    By geonofear in forum News and Announcements
    Replies: 2
    Last Post: 2007-01-03, 12:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×