Baby steps- catching dreams

Image

We should be working

I’ve been trying to get more sleep lately. This means that a significant portion of my ‘coding time’ has now been exchanged for ‘sleeping time.’ That, in turn, means much less progress with my latest coding project, the Pokemon Card Game.

The major goal of this project is to familiarize myself with vectors and how to manipulate them easily, moving items from one vector to another, deleting them, changing aspects of single vector objects, etc. So fa, this has been somewhat achieved. I have definitely become more familiar with the idea of the vector (it’s an array with more reasonable manipulations). The problem is, I still run into problems with these manipulations (unable to delete items from a vector, etc).

Image

I’m not sure this thing will work

Secondary goals involve:

1. Presenting a more civilized (although still ASCII) interface. I would love to leave ASCII and the terminal behind, but that has been a very elusive goal that I have no idea how to tackle.

2. Building in more realistic randomness into the play while also shepherding this randomness into better gameplay (attacks are randomized, but contain modifiers to make them more challenging)

3. Trying to keep my code simple and organized

 

Let’s be honest, #3 has been right out the window.

#2 is coming, and I think it should be more straight-forward than my other issues, but it’s still not implemented.

#1 is the only thing I worked on at all last night. Although I have good ideas about how I could make this much better, I’m not letting ‘the perfect’ get in the way of ‘the good’ just yet. Right now, this is about what the interface looks like:

 

Screen Shot 2014-06-24 at 8.31.49 AM 

Advertisements

2 Comments (+add yours?)

  1. Sharklasers
    Jul 29, 2014 @ 19:24:32

    If I were you, I wouldn’t spent too much time on #1. In my experience, writing a ‘nicer’ interface is a never ending task and isn’t really something which helps you learn the language. My advice as a seasoned C++ programmer would be to work on #3 first. Once you are able to write simple and organised code, then you can work on the improvements in #2, but again I still wouldn’t bother with #3 – it’s bells and whistles.

    If any of this code is available publically (i.e. github, sourceforge etc), then I would be happy to do some review and provide some pointers for #3.

    Reply

  2. downhousesoftware
    Jul 30, 2014 @ 12:28:10

    Thanks for your comment, Sharklasers. I had been playing with github to figure out how to use that, but I just recently deleted the app in order to make room for the recent OS update – I’m using a macbook air, which is a great computer that I would never recommend for anyone needing to use large applications like XCode, the storage limitations are a source of never-ending frustration.
    That said, I will see if I can re-install and get that up and available. I would certainly appreciate your offer of reviewing it.

    Take care – and your name reminds me that Sharknado 2 is on tonight. Don’t miss it! I expect to be reviewing it tomorrow on http://100filmsin100days.wordpress.com.

    Reply

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

%d bloggers like this: