The final project in the final section of this course though I'll be doing some wrapping up after we're
done.
We'll look at the problem of Space Invaders.
But first I thought I'd start with just going over how I set up the project.
So I have a I have our main project text meter's ever made it and it's just the hello world template
for now and I've made a dot h file as well.
Currently all this has is the problem definition and nothing else which will go over for next time and
I made that age by doing right click.
New header file.
Right click on the source of it and it just text invader's dot h minority exists course but just say
fashion.
You should have the ha or green and have also included the curses you tales that we made last time I
copied it into the source source directory of our project.
I just went to the project and then went to source.
And then I just put it there.
And then if you're kind of wondering why it's not showing up just a right click and refresh and should
actually show up OK and anything I did of course was I went to the properties and I went to actually
set up all the stuff we needed to do for curses and so for only for Mac.
You just have to say in curses in libraries in for Windows you of course I have to do all the include
include paths in the effort to set up the linker flags that I showed you before and the PD horses and
the path BTS is OK just for library stuff.
So I've done all that and the other thing I did was I made it so if I run it it'll actually run in the
native console and have also made the native console 80 by 32 which is the size we want the console
to be for a game if you go to preferences for Mac of course go to preferences and window.
You can set the columns and rows here.
So I've spent did 80 for columns at 32 for the rows.
If you are on Windows you can right click on the console itself and go to layout and should see the
size of the window.
You can actually change to be 32 and so do all that.
One other thing for the project setup.
If you're having trouble is the son Mac with the run configurations like it.
If you don't see it show up.
You should actually run the hello world first in the can of regular eclipse console and then then you
should probably see it see it show up.
So if you run it first and the clips cancel and then go here then you should see this go up and then
you can actually do all the setup necessary for your run configuration as they show you and it's using
the terminal and then of course and checking out the console.
So just like we had before.
So let's now go through the problem and try to start understanding the problem and seeing what we're
going to need for the problem.