Magic the Gathering(2)

I really got into it… Few minutes ago I have counted the lines I have written and I was really surprised that there are over 2 thousands of them. Even though there is a huge mess and many separated parts of code…

Ok, so what is done?

  1. main menu with nice looking picture and unfinished deck creator
  2. initialising the game in clients-server connection and transferring the images over the sockets
  3. table with dragging and rotating cards, moving cards between hand and table, library with shuffling and drawing – all quite messy and with some functionality missing
  4. example cards provided in jar file and saved to the disk at program startup
  5. JPanel displaying images with nice looking scrolling (sth like own-made JScrollPane)

Was it worth doing?

Definitely! I have gained a lot of experience in using streams (I have done transferring files over sockets as streams and getting resources as stream from jar file and saving them to the disk) and Swing (if I didn’t have it much enough…).

Now I am working on the point number five. I am tired and will probably not do too much this night, but by Saturday deck creator should be finished so I will enclose a jar file then. For now you can only view my really messy code, I am not too proud of, here.

About Jaroslaw Pawlak

I have done MSci in Computer Science at King’s College London and currently work as Software Engineer specialising in Java. I spend most of my time in front of computer improving my programming (and other) skills or just relaxing with a good game. I also train some sports but at the moment I am not a member of any club. I love cycling and volleyball, but I have also played a lot of football, tennis and trained martial arts.

Posted on September 1, 2011, in Magic the Gathering - Virtual Table, My Projects. Bookmark the permalink. Leave a comment.

Leave a Reply

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

You are commenting using your 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 )

Connecting to %s

%d bloggers like this: