_________________________________________________________________________________________________
Water Snakes​​​​​​​
I learned how to use SFML and create a basic world system.
This was our first assignment on my programming course. It was designed to teach us how to use SFML, and the guidance was that we had to make the traditional snake game but with a twist. The snakes were in a leaking tank of water and needed to surface to breathe.
 However I already knew the basics of SFML so I challenged myself to a menu system and didn't use a traditional grid-based system like the module intended. I had a lot of fun pushing muself further, such as adding controller support and even animations that I make myself! I learned quite a bit about technicalities involving the draw orders and collisions in the process too!

First collision testing

Movement and wall collision / bouncing

First snake prototype
First snake prototype
Creating the fruit assets
Creating the fruit assets
Loading sprites and figuring out collision
Loading sprites and figuring out collision
Final product
Final product
_________________________________________________________________________________________________
Cards​​​​​​​
I learned how to output in colour, program my own shuffle and sorting algorithm.
This was also part of my programming course. I chose rummy as my game of cards to program, and found it was perfect for what I wanted, I got a good sense of inheritance in C++ using melds, hands and the deck. While also making the output look fancy with colours and characters for the suits. I also tried to think outside the box and provided functionality that isn't actually used by rummy with the intention for any card game to be programmed easily later on if I wanted to!

Dealing animation

You may also like

Back to Top