Scatris - Yet Another *tris Clone

Writed on Scala with using lwjgl and slick2d.

Controls

Left/Right - move falling element
Up - rotate falling element ccw
Down - speed-up falling element
Space - drop falling element down
F2 - show/hide phantom (place, where element will fall)
P - pause
Esc - exit

Screenshot

Play

Java Web Start

Download

Dropbox.com (full package) [10.8 MB]

Running

Linux:

$ sh run_linux.sh

Windows:

Start file (with doubleclick or from cmd) run_windows.bat

Other platforms:

java -cp lib/*::scatris.jar -Djava.library.path=lib/native/os_name ua.org.dector.scatris.Scatris

Note: Change ’::’ for delimiter in your OS.

Ooo, Scala. How are you finding it compared to vanilla Java development? I keep eyeing it up and then not getting around to trying it out.

Hi. It look nice.

Wanna ask, why you need to use lwjgl and slick2d together?

I tried Scala for few educational tasks. And I liked it. I’m not using functional programming in full power yet, but sometimes it helps to create elegant and flexible solutions. Just try Scala developing when you’ll have time. It is really interesting, deep and promising.

Hi:) Thanks.
For graphics rendering I use lwjgl, but as I haven’t own text drawing library, I used slick2d for this purpose.

W00t, another scala developer :slight_smile:

Since there are so few scala game sources out there, would you have any objections to putting the sources on github?

I use a fair amount of Scala at work, but except when I use the monadic for-comprehensions on Futures, I also use it as just “a better Java” without drinking the functional koolaid of stuff like scalaz. It’s just nice to have it handy for features like that when they are there (and the ironically funny part about the for-comprehensions is that they make the code look more imperative)

Thank you for so warm wellcome :slight_smile:

Yes, I’ll move source code to github soon, but before I want to make code more readable and well-structured. And I’ll look at scalaz, thanks.

I have to say, due to you having a tiger as your avatar, and your name being named Scatris, I immediately saw "Scat"ris. As it, "Poop"ris. :stuck_out_tongue: Now I see it’s in Scala so that makes sense.

Anyway it looks cool. I like the stark coloring.

Thanks. It is simple, but I like it too :slight_smile:

UPD: Phantom highlight added.