Gunnewiek.com

C++ Grid Class

This is a basic grid class which I plan to use for some simple games including a rewrite of my Connect Four game. This grid class uses std::vector for easy memory management.

Accessors:

  • height()
  • width()
  • retrieve(n, m)
  • print()

Mutalators:

  • insert(n, m, x)
  • resize(n, m)

Download

Data Structures and Algorithms

I just finished taking a data structures and algorithms course which was very cool and broadened my perspective when it comes to programming. Although we only got to program a small portion of the things we learned about, I feel that what I did implement is clean and efficient.

Connect Four

This is a console Connect Four game. This initial release only has support for a two player game, but I plan to add AI soon. Once I become more comfortable with C++ I will try to add graphics.

Download