Page 1 of 2

Rhino Next Year

Posted: Tue Dec 06, 2011 8:39 am
by negester
Like the Towlr games, this one does not say what the purpose of the game is. Unlike them, the title offers an admittedly cryptic hint, and the game involves numbers. Even after you have discovered the purpose, the game itself is quite challenging, and punishes lapses of concentration mercilessly. I have not yet discovered what the highest possible score is, but consider yourself brilliant if you merely complete the game even if your score is zero.

Enjoy!

Negester
*********

Re: Rhino Next Year

Posted: Tue Dec 06, 2011 8:45 am
by miko
negester wrote:Like the Towlr games, this one does not say what the purpose of the game is. Unlike them, the title offers an admittedly cryptic hint, and the game involves numbers. Even after you have discovered the purpose, the game itself is quite challenging, and punishes lapses of concentration mercilessly. I have not yet discovered what the highest possible score is, but consider yourself brilliant if you merely complete the game even if your score is zero.

Enjoy!

Negester
*********

Code: Select all

Error: [string "main.lua"]:247: Syntax error: legal.luac: cannot load incompatible bytecode
So you are using bytecode... That is not very portable, so I am out of the chance to try it :(

Re: Rhino Next Year

Posted: Tue Dec 06, 2011 8:55 am
by Robin
And I get a syntax error...

I understand you might want to prevent people from peeking, but zipping sources is The Way To Go.

Re: Rhino Next Year

Posted: Tue Dec 06, 2011 9:48 am
by negester
miko wrote:

Code: Select all

Error: [string "main.lua"]:247: Syntax error: legal.luac: cannot load incompatible bytecode
So you are using bytecode... That is not very portable, so I am out of the chance to try it :(
I did not realize that Löve does not actually embed Lua from source.

Way I understand the Lua docs, bytecode is portable within a x.y release. This bytecode is for Lua 5.1.
So if I provide several .luac files, say for 4.0, 5.0, 5.1 and 5.2 (nearly out of beta now), and check
for _VERSION in love.load, that might solve the problem.

Re: Rhino Next Year

Posted: Tue Dec 06, 2011 9:54 am
by kikito
Skip the luac part, please.

Re: Rhino Next Year

Posted: Tue Dec 06, 2011 10:10 am
by vrld
negester wrote:Way I understand the Lua docs, bytecode is portable within a x.y release.
From the luac manpage:
The binary files created by luac are portable to all architectures with the same word size. This means that binary files created on a 32-bit platform (such as Intel) can be read without change in another 32-bit platform (such as Sparc), even if the byte order (``endianess'') is different. On the other hand, binary files created on a 16-bit platform cannot be read in a 32-bit platform.
So no, bytecode is not portable. Worse, it isn't even properly defined, so luajit may have a different implementation than vanilla Lua.
Don't use it.

Re: Rhino Next Year

Posted: Tue Dec 06, 2011 10:13 am
by miko
negester wrote:Way I understand the Lua docs, bytecode is portable within a x.y release. This bytecode is for Lua 5.1.
So if I provide several .luac files, say for 4.0, 5.0, 5.1 and 5.2 (nearly out of beta now), and check
for _VERSION in love.load, that might solve the problem.
There are different lua implementations. I am using love with luajit, so its bytecode will never be compatible.

Re: Rhino Next Year

Posted: Tue Dec 06, 2011 10:49 am
by negester
vrld wrote:[
So no, bytecode is not portable. Worse, it isn't even properly defined, so luajit may have a different implementation than vanilla Lua.
Don't use it.
You've presuaded me. Here is a patch. Unzip in the directory where the original game package was unzipped. Happy peeking!

Re: Rhino Next Year

Posted: Tue Dec 06, 2011 10:50 am
by negester
negester wrote:Here is a patch.
Here it really is.

Re: Rhino Next Year

Posted: Tue Dec 06, 2011 2:08 pm
by coffee
People are nagging you about things that aren't my league, first version worked fine for me. However I'm so dumb in logic and I curse you for you trying to burn my brain and insult me with that sounds. Seeing your code or not didn't help me out figure what's the purpose of the game even that I did a couple of accepted moves. SO I GIVE UP!

"AHAH" 2U2! :P