Blocking bad

Show off your games, demos and other (playable) creations.
Post Reply
MUA
Prole
Posts: 3
Joined: Mon Mar 03, 2014 5:35 am

Blocking bad

Post 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
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: Blocking bad

Post 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
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
MUA
Prole
Posts: 3
Joined: Mon Mar 03, 2014 5:35 am

Re: Blocking bad

Post 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
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: Blocking bad

Post 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.
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
User avatar
SneakySnake
Citizen
Posts: 94
Joined: Fri May 31, 2013 2:01 pm
Contact:

Re: Blocking bad

Post 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
MUA
Prole
Posts: 3
Joined: Mon Mar 03, 2014 5:35 am

Re: Blocking bad

Post by MUA »

Thank you SneakySnake, I was scratching my head when I saw my console parameters as constructor arguments :) Merged
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 0 guests