Page 1 of 1

Blocking bad

Posted: Mon Mar 03, 2014 5:52 am
by MUA
Hello,

This is tetris clone with an annoying twist, it always chooses the worst possible piece. Idea is the same as hateris and bastet. This was given as a challenge to me, but I liked it and went ahead and finished. Source code is available.

- AI using search algorithm, minmax approach,I explained in detail in the source comments.
- Particle effects in intro and some in game
- Transitions using shader
- High scores
- Difficulty setting (easy for standard tetris, normal for increasing difficulty, hard for max difficulty)
- Simple UI classes

http://mua.github.io/blocking-bad.html

there was a problem with the binary, dll's were missing, added those

Re: Blocking bad

Posted: Mon Mar 03, 2014 9:14 am
by josefnpat
What version of love is this for? I see 0.9.0 commented out in your config.

With 0.8.0 I get this error:

Image

And with 0.9.0 I get this error:

Image

Re: Blocking bad

Posted: Mon Mar 03, 2014 9:23 am
by MUA
if you are using windows can you test if binary version work for you ? I used 0.8.0 and running it without any problems.

edit: After checking I managed to get same error using 0.9.0. I tried to migrate but it seems too much work for a sprint. I am setting config to explicitly be 0.8.0

Re: Blocking bad

Posted: Mon Mar 03, 2014 2:02 pm
by josefnpat
MUA wrote:if you are using windows can you test if binary version work for you ? I used 0.8.0 and running it without any problems.
I am running Linux. Case insensitivity usually foobars window developers up.

Re: Blocking bad

Posted: Mon Mar 03, 2014 3:46 pm
by SneakySnake
You are another victim of the removal of the implicit arg parameter in LuaJIT.

I have sent a pull request that fixes it: https://github.com/mua/BlockingBad/pull/1

Re: Blocking bad

Posted: Mon Mar 03, 2014 8:28 pm
by MUA
Thank you SneakySnake, I was scratching my head when I saw my console parameters as constructor arguments :) Merged