Magic the Gathering(4)

The project is almost done, has over 4800 lines of code and is playable :) Jar file here. Code here.

What play features have been implemented:

  1. tapping, untapping and dragging cards on the table
  2. playing card from hand onto the table
  3. shuffling a library
  4. revealing a top card of a library, playing it directly onto the table and taking it to the hand
  5. logging all players’ activities
  6. displaying players’ hands and libraries sizes

What you should pay attention to:

  1. joining to the server (including deck chooser after creating a server) is a temporary implementation – if you press cancel in any of displayed window (instead of entering requested information) you may need to restart a program before trying it again. Also if you cancel when asked to choose a deck, a server may crash as well.
  2. all options except “view larger” of a card on a table (see: right mouse button) do not work
  3. buttons “search” in “your library” and all buttons in players information (top right corner) do not work

Program communicates using sockets and allows to run few clients on the same computer (just connect to “localhost”). There is a temporary button which quickly starts a game with one player without asking about ports and all that stuff – just in case you would like to see it ;)

I think I should finish all the main features within few days so if you are interested in playing or testing it with me, you can start creating your own deck ;)

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 October 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:

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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: