Java communicator

Did you know that it is possible to write a simple chat for two people in Java, including GUI in less than 120 lines? Well, I didn’t. Here is the code. Two hours of work :)
Read the rest of this entry

Magic the Gathering

I haven’t written anything for quite a long period of time… I have been spending four weeks on two astronomy camps as a lecturer :) When I get back I had a friend over for about a week and we had a great time observing a night sky on the beach and touring my home city.
Read the rest of this entry

GDC Project Euler: problem 83 – Jaroslaw Pawlak

  • Difficulty: intermediate

Read the rest of this entry

boolean in Java is 8-bit large! always…!

After doing some testing and looking for some information on the Internet, I have figured out that primitive type boolean in Java is always 8-bit large, even in the array…
Read the rest of this entry

RobotGame – my first (serious) program :)

Friend of mine has just shown me her first game, written after a week of learning programming, so I have decided to find my first game, written after about 6 weeks of learning programming. I have spent over a week on it (about 10 hours daily), it has over 1300 lines of code and the only used classes are javax.swing.JOptionPane, java.util.Random and java.util.Scanner.
Read the rest of this entry

Prime numbers utilites

I have been solving problem 58 and have found a really stupid mistake in dynamic search in my Prime class. Code updated.
Read the rest of this entry

Bricks3 – Jewel Quest in Java

Today I wanted to show you one of my two largest projects – my own implementation of jewel quest game. I have been working on it September and October 2010. Game doesn’t use any engine and is made using Swing only.
Read the rest of this entry

Box organizer

Happy that GitHub finally works I have found some code to just upload it :)

It’s a little project in Java I have been doing for a friend in February 2011. I gave it up after his new specification would require from me rewriting all the code…
Read the rest of this entry

GitHub repo finally set

After solving some problems and reading many different guides and articles, I have finally understood how the git works and successfully set an online repo. Many thanks to Krzysztof Rosset who helped me a lot today ;)
Read the rest of this entry

Project Euler: level-up!

+1 intelligence
+10% computer’s main memory
-5% algorithm’s computation time
+skill: Hint
Read the rest of this entry