Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Brain Party for Linux (and now for N900)

    Reply
    Page 8 of 23 | Prev |   6     7   8   9     10   18 | Next | Last
    javispedro | # 71 | 2010-04-12, 15:19 | Report

    I had a quick look to the source of brainparty and didn't guess why this problem is happening. If it is indeed writing gigs of log files it would cause similar symptoms.

    Btw, call SDL_GLES_Quit() (~ equivalent to eglTerminate()) before SDL_Quit(). The N8x0 leaks _a lot_ without such a call, but the N900 EGL driver seems to be more robust in this regard (so this won't improve the N900 situation).

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by javispedro; 2010-04-12 at 15:21.
    The Following User Says Thank You to javispedro For This Useful Post:
    thp

     
    ndi | # 72 | 2010-04-12, 17:08 | Report

    First, nice game.

    Second, as it has been said, it slows down. First test is fine, then it starts glitching, at first only noticeable via back animation. After the first test, it's noticeable. After the second, getting worse. I can't finish the third, it's so slow UI registers touches in the next game.

    However, there is no need to remove battery. First, with patience the game exits, even if each menu takes 30 seconds. Secondly, leave it be and it gets killed after a few minutes (or crashes).

    Also, a feature like best score per game would rule. Also, best score ever could also be cool. Finally, what score should I get in baloons? I pop quite a bit and get failed. I only got it once and with score in the hundred thousand I got a C- or so. What am I missing? Is it luck, too? I have A* in all other games minus the sheep (it's unplayable by the time I get to it)

    Also, excluse typos, N900.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    zehjotkah | # 73 | 2010-04-12, 18:10 | Report

    strange...
    I've never experienced any problems with the game. No slowdowns, no crashes, no leaks...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    thp | # 74 | 2010-04-12, 18:30 | Report

    Originally Posted by javispedro View Post
    Btw, call SDL_GLES_Quit() (~ equivalent to eglTerminate()) before SDL_Quit(). The N8x0 leaks _a lot_ without such a call, but the N900 EGL driver seems to be more robust in this regard (so this won't improve the N900 situation).
    Thanks for the hint; I've added this call now and BrainParty 0.5-3 is on its way to the autobuilder.

    I don't know if I can do anything about the test scores and settings being written out to the file (/home/user/.brainparty). The code is in BPGame.cpp in the LoadSettings and SaveSettings methods of the BPGame class if anybody wants to have a look.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    thp | # 75 | 2010-04-12, 18:36 | Report

    Originally Posted by ndi View Post
    Finally, what score should I get in baloons? I pop quite a bit and get failed.
    Try not to pop the last remaining one on the screen right away, but wait until the next one appears before popping it (so that all the time at least one balloon stays on the screen). After balloons stop appearing, pop the last one and you won't get failed.

    Originally Posted by ndi View Post
    Also, excluse typos, N900.
    No problem - typos exclused (SCNR)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    hudzilla | # 76 | 2010-04-12, 22:42 | Report

    Hey!

    << Finally, what score should I get in baloons? I pop quite a bit and get failed. >>

    A good player can score over 500,000 in a game. I can get 50,000 in about 20 seconds. Remember, it's a brain game: the key isn't just to tap the colours blindly. Instead, you need to think, "well, if I pop two red balloons there and three green balloons there, then I end up with 16 purple balloons all lined up" - and then you score big points.

    Your score doubles for every extra balloon you add to a chain, so it pays to think.

    Andrew_85: I just released 36 minigames and you're saying you want even more?

    lma: I'm sorry; I can't help you with that bug, because I don't have a device. It's strange, though, because it works fine on other platforms. Perhaps C++'s ofstream is slightly different on the N900? What exactly is making the file so big - is it repeating itself? Is it whitespace?


    Paul

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to hudzilla For This Useful Post:
    robbie

     
    lma | # 77 | 2010-04-12, 23:46 | Report

    Originally Posted by hudzilla View Post
    What exactly is making the file so big - is it repeating itself? Is it whitespace?
    Attaching a copy. It seems to repeat sequences of scores over and over, and there's an interesting pattern emerging when counting them up:

    Code:
    $ zcat .brainparty.gz|sort|uniq -c|sort -n
    [...]
          4 2146
          6 0
          8 2267
         16 2217
         32 2200
         64 1617
        128 2082
        128 2211
        256 1921
        256 2108
        512 2052
       1024 2034
       2048 1948
       2048 2223
       2048 2250
       4096 2007
       8192 1962
      16384 2381
      32768 1964
      32768 2077
      65536 2070
     131072 1819
     131072 2176
     262400 2280
     524288 1765
    1048576 2035

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: gz .brainparty.gz (67.3 KB, 98 views)

     
    robbie | # 78 | 2010-04-13, 05:39 | Report

    Originally Posted by jamiefuller View Post
    Robbie, I've never had this problem with the sheep game,

    Silly question but are you aware that the game doesn't involve moving the sheep yourself?

    You get shown the moves the sheep will make and you just have to predict where it will stop.
    Ah, thats what we did wrong! Thanks!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    hudzilla | # 79 | 2010-04-13, 10:18 | Report

    lma: I reckon I can see what's causing that, and it's an easily fixed bug. Go to the LoadSettings() function in BPGame.cpp and add this line at the top:

    AllTestScores.Clear();

    Now save and re-run make. It should fix the problem.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to hudzilla For This Useful Post:
    lma, Patola

     
    chainreaction | # 80 | 2010-04-13, 10:27 | Report

    I don't think this bug is part of the port, but the "Next in line" puzzle contains some errors. On some puzzles there might be more than one mathematically correct answers but only one of them is acceptable. This is not a big flaw, but there exists some real errors as well. Atleast I've found one or two flaws where you had to factor the given values with a number, but one of the calculated values in the line was incorrect. Therefore I assume that the puzzles are just saved strings and not actual calculations?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 8 of 23 | Prev |   6     7   8   9     10   18 | Next | Last
vBulletin® Version 3.8.8
Normal Logout