switch (5 in a Row) – WIP


This week has been filled with new terms like Polymorphism, friend classes, virtual methods, forward declare, finite state machines… My brain feels melted. As a novice programmer these things may need some time to fully understand.
To help find my confidence again I decided to create a simple code for the game ”5 in a row”. Originally it’s a board game where two players by turns drop bricks on the top of the board where you can see the pieces […]

/ Comments Off on switch (5 in a Row) – WIP
Program: Programming

switch (5 in a Row) – WIP


This week has been filled with new terms like Polymorphism, friend classes, virtual methods, forward declare, finite state machines… My brain feels melted. As a novice programmer these things may need some time to fully understand.
To help find my confidence again I decided to create a simple code for the game ”5 in a row”. Originally it’s a board game where two players by turns drop bricks on the top of the board where you can see the pieces […]

/ Comments Off on switch (5 in a Row) – WIP
Program: Programming

switch (5 in a Row) – WIP


This week has been filled with new terms like Polymorphism, friend classes, virtual methods, forward declare, finite state machines… My brain feels melted. As a novice programmer these things may need some time to fully understand.
To help find my confidence again I decided to create a simple code for the game ”5 in a row”. Originally it’s a board game where two players by turns drop bricks on the top of the board where you can see the pieces […]

/ Comments Off on switch (5 in a Row) – WIP
Program: Programming

switch (5 in a Row) – WIP


This week has been filled with new terms like Polymorphism, friend classes, virtual methods, forward declare, finite state machines… My brain feels melted. As a novice programmer these things may need some time to fully understand.
To help find my confidence again I decided to create a simple code for the game ”5 in a row”. Originally it’s a board game where two players by turns drop bricks on the top of the board where you can see the pieces […]

/ Comments Off on switch (5 in a Row) – WIP
Program: Programming

Programming Week 4

This week we started building on our second game – Arkanoid. This project is a bit more complex though since we’re actually building this game from scratch. Our teacher is livecoding while going through each line of code, it’s interesting but very hard!
We’ve learned more about inheritance, which is that you can create an original class, and then you can create another class which can inherit the original class’ values.
We have also started discussing something new – Polymorphism, which is what […]

/ Comments Off on Programming Week 4
Program: Programming

Programming Week 4

This week we started building on our second game – Arkanoid. This project is a bit more complex though since we’re actually building this game from scratch. Our teacher is livecoding while going through each line of code, it’s interesting but very hard!
We’ve learned more about inheritance, which is that you can create an original class, and then you can create another class which can inherit the original class’ values.
We have also started discussing something new – Polymorphism, which is what […]

/ Comments Off on Programming Week 4
Program: Programming

Programming Week 4

This week we started building on our second game – Arkanoid. This project is a bit more complex though since we’re actually building this game from scratch. Our teacher is livecoding while going through each line of code, it’s interesting but very hard!
We’ve learned more about inheritance, which is that you can create an original class, and then you can create another class which can inherit the original class’ values.
We have also started discussing something new – Polymorphism, which is what […]

/ Comments Off on Programming Week 4
Program: Programming

Programming Week 4

This week we started building on our second game – Arkanoid. This project is a bit more complex though since we’re actually building this game from scratch. Our teacher is livecoding while going through each line of code, it’s interesting but very hard!
We’ve learned more about inheritance, which is that you can create an original class, and then you can create another class which can inherit the original class’ values.
We have also started discussing something new – Polymorphism, which is what […]

/ Comments Off on Programming Week 4
Program: Programming

Game Programming III – the fourth week, webserver part one (1)


Hello!
This week I’ve been mostly working on the second assignment for this course, which is to make a simple web server. The web server needs to use the TCP protocol and handle HTTP/1.1 headers. The first thing you need to make a web server is to make a socket for it. A socket is, in short, an IP adress and a port number that are bound together to make an endpoint for communication over a network. I will make use […]

/ Comments Off on Game Programming III – the fourth week, webserver part one (1)
Program: Programming

Game Programming III – the fourth week, webserver part one (1)


Hello!
This week I’ve been mostly working on the second assignment for this course, which is to make a simple web server. The web server needs to use the TCP protocol and handle HTTP/1.1 headers. The first thing you need to make a web server is to make a socket for it. A socket is, in short, an IP adress and a port number that are bound together to make an endpoint for communication over a network. I will make use […]

/ Comments Off on Game Programming III – the fourth week, webserver part one (1)
Program: Programming

Game Programming III – the fourth week, webserver part one (1)


Hello!
This week I’ve been mostly working on the second assignment for this course, which is to make a simple web server. The web server needs to use the TCP protocol and handle HTTP/1.1 headers. The first thing you need to make a web server is to make a socket for it. A socket is, in short, an IP adress and a port number that are bound together to make an endpoint for communication over a network. I will make use […]

/ Comments Off on Game Programming III – the fourth week, webserver part one (1)
Program: Programming

Game Programming III – the fourth week, webserver part one (1)


Hello!
This week I’ve been mostly working on the second assignment for this course, which is to make a simple web server. The web server needs to use the TCP protocol and handle HTTP/1.1 headers. The first thing you need to make a web server is to make a socket for it. A socket is, in short, an IP adress and a port number that are bound together to make an endpoint for communication over a network. I will make use […]

/ Comments Off on Game Programming III – the fourth week, webserver part one (1)
Program: Programming

Arkanoid and Gamestates

This week began a new task: building the classic game Arkanoid. Following the lead of our lecturer the group wrote down the necessary classes and functions needed for the game, dividing the classes in separate files. SDL (Simple DirectMedia Library) was selected as graphical library for this project.
Arkanoid was developed by Taito in 1986, and was based on the game Breakout from Atari, inc. and released 1976. Breakout was built by Steve Wozniak (Co-founder of Apple, and inventor and designer […]

/ Comments Off on Arkanoid and Gamestates
Program: Programming

Arkanoid and Gamestates

This week began a new task: building the classic game Arkanoid. Following the lead of our lecturer the group wrote down the necessary classes and functions needed for the game, dividing the classes in separate files. SDL (Simple DirectMedia Library) was selected as graphical library for this project.
Arkanoid was developed by Taito in 1986, and was based on the game Breakout from Atari, inc. and released 1976. Breakout was built by Steve Wozniak (Co-founder of Apple, and inventor and designer […]

/ Comments Off on Arkanoid and Gamestates
Program: Programming

Arkanoid and Gamestates

This week began a new task: building the classic game Arkanoid. Following the lead of our lecturer the group wrote down the necessary classes and functions needed for the game, dividing the classes in separate files. SDL (Simple DirectMedia Library) was selected as graphical library for this project.
Arkanoid was developed by Taito in 1986, and was based on the game Breakout from Atari, inc. and released 1976. Breakout was built by Steve Wozniak (Co-founder of Apple, and inventor and designer […]

/ Comments Off on Arkanoid and Gamestates
Program: Programming

Arkanoid and Gamestates

This week began a new task: building the classic game Arkanoid. Following the lead of our lecturer the group wrote down the necessary classes and functions needed for the game, dividing the classes in separate files. SDL (Simple DirectMedia Library) was selected as graphical library for this project.
Arkanoid was developed by Taito in 1986, and was based on the game Breakout from Atari, inc. and released 1976. Breakout was built by Steve Wozniak (Co-founder of Apple, and inventor and designer […]

/ Comments Off on Arkanoid and Gamestates
Program: Programming

Week 4 of game programming – Arkanoid

This week, we’ve been working on creating another game using SDL. Last time we created Pong, now we will create Arkanoid, writing even more of the code ourselves. So far this week we’ve created an engine for our game, statemanager, the different states, started mouse controls, started keyboard controls and we’ve also created draw files that will help us draw everything needed for the game onto the application. That’s about as much as we managed to complete this week, we’ll […]

/ Comments Off on Week 4 of game programming – Arkanoid
Program: Programming

Week 4 of game programming – Arkanoid

This week, we’ve been working on creating another game using SDL. Last time we created Pong, now we will create Arkanoid, writing even more of the code ourselves. So far this week we’ve created an engine for our game, statemanager, the different states, started mouse controls, started keyboard controls and we’ve also created draw files that will help us draw everything needed for the game onto the application. That’s about as much as we managed to complete this week, we’ll […]

/ Comments Off on Week 4 of game programming – Arkanoid
Program: Programming

Week 4 of game programming – Arkanoid

This week, we’ve been working on creating another game using SDL. Last time we created Pong, now we will create Arkanoid, writing even more of the code ourselves. So far this week we’ve created an engine for our game, statemanager, the different states, started mouse controls, started keyboard controls and we’ve also created draw files that will help us draw everything needed for the game onto the application. That’s about as much as we managed to complete this week, we’ll […]

/ Comments Off on Week 4 of game programming – Arkanoid
Program: Programming

Week 4 of game programming – Arkanoid

This week, we’ve been working on creating another game using SDL. Last time we created Pong, now we will create Arkanoid, writing even more of the code ourselves. So far this week we’ve created an engine for our game, statemanager, the different states, started mouse controls, started keyboard controls and we’ve also created draw files that will help us draw everything needed for the game onto the application. That’s about as much as we managed to complete this week, we’ll […]

/ Comments Off on Week 4 of game programming – Arkanoid
Program: Programming

Started on Assignment part 2

I finally got started ever so slightly on the second part of the assignment today. On the morning I started piecing together parts from our two earlier pieces of code to make a webbserver. The first part is the UDP Peer to Peer chat we made which includes some functions and structure used to connect between to users over the Internet. The second part is a demonstration given to us which takes the html page google.com and displays its properties […]

/ Comments Off on Started on Assignment part 2
Program: Programming

Started on Assignment part 2

I finally got started ever so slightly on the second part of the assignment today. On the morning I started piecing together parts from our two earlier pieces of code to make a webbserver. The first part is the UDP Peer to Peer chat we made which includes some functions and structure used to connect between to users over the Internet. The second part is a demonstration given to us which takes the html page google.com and displays its properties […]

/ Comments Off on Started on Assignment part 2
Program: Programming

Week three and four – Classes, inheritance and polymorphism

During last week (week 3 in the course) we started using classes. Classes are something defined in C++ and are similar to structs, which are mainly used in C. As structs, a class is something that can hold a number of values and it can be instantiated for use in your program. Though, one thing with classes is that it can also hold member functions (methods) which can be called with the instantiated object. To access the method we use the . […]

/ Comments Off on Week three and four – Classes, inheritance and polymorphism
Program: Programming

Week three and four – Classes, inheritance and polymorphism

During last week (week 3 in the course) we started using classes. Classes are something defined in C++ and are similar to structs, which are mainly used in C. As structs, a class is something that can hold a number of values and it can be instantiated for use in your program. Though, one thing with classes is that it can also hold member functions (methods) which can be called with the instantiated object. To access the method we use the . […]

/ Comments Off on Week three and four – Classes, inheritance and polymorphism
Program: Programming