House of Mirrors Screenshot A logic game inspired by Chromatron

House Of Mirrors (HoM) is a logic game inspired by Chromatron (from Silver SpaceShip Software).

The game consists of a 2D grid in which several types of objects are found, including detectors and mirrors. The goal is to light up all the detectors using emitted or reflected rays of light. Usually, you can move and rotate the mirrors but not the detectors. In each level, the choice of available objects is limited. Note that there may be more than one solution for each level.

License: free
Requirements: Java Runtime, Scala 2.7.4 (http://www.scala-lang.org)

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
noyesnonononoyes
Suggest an update

Comments

I get the following error then it hangs, any advice please?:

java.lang.NoSuchMethodError: method scala.Iterator$.range with signature (II)Lscala.Iterator; was not found. at tfd.scala.squib.HasDefaultAttributes$class.checkInitMethodHash(HasDefaultAttributes.scala:85) at tfd.scala.squib.BuiltComponent.checkInitMethodHash(BuiltComponent.scala:25) at tfd.scala.squib.HasAttributes$class.doSetters(HasAttributes.scala:85) at tfd.scala.squib.BuiltComponent.tfd$scala$squib$HasDefaultAttributes$$super$doSetters(BuiltComponent.scala:25) at tfd.scala.squib.HasDefaultAttributes$class.doSetters(HasDefaultAttributes.scala:108) at tfd.scala.squib.BuiltComponent.doSetters(BuiltComponent.scala:25) at tfd.scala.squib.BuiltComponent.processParams(BuiltComponent.scala:72) at tfd.scala.squib.BuiltComponent.apply(BuiltComponent.scala:43) at Main$.main((virtual file):370) at Main.main((virtual file)) at java.lang.reflect.Method.invoke(libgcj.so.7rh) at scala.tools.nsc.ObjectRunner$$anonfun$run$1.apply(ObjectRunner.scala:75) at scala.tools.nsc.ObjectRunner$.withContextClassLoader(ObjectRunner.scala:49) at scala.tools.nsc.ObjectRunner$.run(ObjectRunner.scala:74) at scala.tools.nsc.ScriptRunner$.scala$tools$nsc$ScriptRunner$$runCompiled(ScriptRunner.scala:363) at scala.tools.nsc.ScriptRunner$$anonfun$runScript$1.apply(ScriptRunner.scala:389) at scala.tools.nsc.ScriptRunner$$anonfun$runScript$1.apply(ScriptRunner.scala:388) at scala.tools.nsc.ScriptRunner$.withCompiledScript(ScriptRunner.scala:315) at scala.tools.nsc.ScriptRunner$.runScript(ScriptRunner.scala:388) at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:172) at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
Re: Errors posted by hrj on Apr 15 2008 4:26 AM
Sorry for not responding earlier (I thought this is also related to the gcj issue).

Let's discuss it on the HoM mailing list.

I have this error too:

Exception in thread "main" java.lang.NoClassDefFoundError: scala.tools.nsc.MainGenericRunner at gnu.java.lang.MainThread.run(libgcj.so.70) Caused by: java.lang.ClassNotFoundException: scala.tools.nsc.MainGenericRunner not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./scala_squib.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.70) at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70) at java.lang.ClassLoader.loadClass(libgcj.so.70) at java.lang.ClassLoader.loadClass(libgcj.so.70) at gnu.java.lang.MainThread.run(libgcj.so.70)

(this is why i hate sooo much java, it is very difficult to get it running)

Re: House of Mirrors posted by draeath on Apr 13 2008 2:30 PM
"(this is why i hate sooo much java, it is very difficult to get it running)"

No its not. Your not using Sun's Java, your using gcj, which is, at the moment, not complete - your gonna have issues with anything not built with gcj in mind. Try using a complete java distribution, see if you get anywhere with that? Or, you could see if theres a newer version of gcj that's more complete. GCJ Homepage.
Re: House of Mirrors posted by draeath on Apr 13 2008 2:32 PM
Oh, to clarify the bit about GCJ not being complete:

It has been merged with GNU Classpath and supports most of the 1.4 libraries plus some 1.5 additions.

What that means, is you don't have a complete Java 5 environment, and any modern java programmer expects you to have that at minimum (java 6 is current now)
Re: House of Mirrors posted by hrj on Apr 15 2008 4:22 AM
Actually, Java 1.5 is not a strict requirement for playing this game.

Scala does work with Java 1.4 and so should HoM. The problem with GNU CLASSPATH is that the Java libraries haven't been fully implemented (even for 1.4)
The tome is NOT the place for bug reports. Visit the projects page and look around first.

A single link brought me here: Issues

All I did was go to the referenced page, and clicked the "Issues" tab.

Use that squishy thing between your ears, people!
Hi folks,

I am the author of HoM. About the java errors; I have heard them from a number of people who have been trying it with gcj and GNU CLASSPATH (the GNU versions of javac and Java API respectively). For historical reasons Fedora, Debian and most other linux distribution's repositories only support these GNU versions of Java. As draeath mentions these are errors due to incomplete implementations of Java and not related to the game.

On most of these distributions, the Sun JRE can be installed separately and I highly recommend it. Some distributions also have plans to support Iced Tea (the open-sourced Java platform from Sun).

This game uses the Java Swing API which, for sure, is not completely implemented in GNU CLASSPATH, and progress on these projects has stalled after Sun open-sourced the Java platform.



cheers, Harshad
Re: Clarifications on Java errors posted by farvardin on Apr 14 2008 7:47 PM
I have Sun JAVA :

java version "1.6.0_05" Java(TM) SE Runtime Environment (build 1.6.0_05-b13) Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)

(and scala installed as well)

but I can't run the game : java.lang.NoClassDefFoundError: tfd/scala/squib/label$ at Main$.main((virtual file):370) at Main.main((virtual file)) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) etc...

Re: Clarifications on Java errors posted by hrj on Apr 15 2008 4:18 AM
Thanks for bringing this to my notice. This is first time I am seeing this kind of report and will have to investigate this. Let's discuss on the HoM mailing list and keep The Tome clean of bug reports :)
Re: Clarifications on Java errors posted by farvardin on Apr 15 2008 10:57 AM
I have an account on HappyPenguin, but I don't have a google one, and I think it's better if people can be aware of such problems and workaround when they discover the game on HappyPenguin.

So the problem was because the Debian Scala package (for Sid) was out of date, I've updated the Scala package myself, and the game is running fine now! (The Scala 2.7 which is required is quite new also: released on 06-Mar-2008)

Great game, it reminds me of mirrormagic!

Re: Clarifications on Java errors posted by draeath on Apr 16 2008 6:07 PM
Oh, as far as swing goes, you may want to look at OpenSwing - I don't know if its usable for you but from my understanding its GPL as well as having more extensions, such as some better layout managers etc.
Good potential. The puzzles was fun but few, so it lasted about 20mins for me.
Had the usual probs running it on debian, but not that bad.
Worst problem for me was that it felt sluggish even with dual core 5000+ with dual channel 2GB PC2-6400 (800MHz) RAM. Not bad or unplayable, but for such a small game I expect it to run smoother.
But all in all better than most. Good work
Re: My 2 Cents posted by hrj on Jun 14 2008 1:08 PM
I am surprised that the game feels sluggish with your kind of configuration. I play/develop it on my Core2 Duo 1.7Ghz laptop, and it feels pretty responsive.

Note that the first time you play the game, it gets compiled. So first startup period is slow. (But the game itself shouldn't be slow). Also, one level in particular is a bit slow, because it has a lot of lasers in it.
its a great game, but for the life of my i can't get past level 11, and i just don't buy the comment the game displays "Yes, this level can be solved"
Re: great puzzle style game posted by hrj on Aug 24 2009 5:06 AM

Thanks for the feedback.

That level is indeed solvable, though I myself took some time to figure it out, when I returned to it after many days! The solution is surprisingly simple and elegant!

Log in or register to rate this game or post a comment.