Scala breakout game code

A (very small) breakout game written in Scala/Swing.

breakout

Nail biting stuff…

Demonstrates a few of the features of Scala such as for yield comprehensions, “static method” (or rather equivalent thereof), flatMap, reactions, traits..etc…Possibly not the game of the year, but Scala does make it fun to write even the simplest piece of code.

Advertisements

One thought on “Scala breakout game code

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s