Friday, March 31, 2023

Filling the Board with Spiders

Hello,

I was sure I planned a simple game. Turns out it's not as easy as I thought it would be. I faced series of challenges 馃槄 However...

I created a solution that allows to put spiders in game, on hidden board. They are placed randomly 馃挭

In the next step I will be working on a user input mechanism 馃槈

Regards!

napu

Thursday, March 23, 2023

Spiders Invasion

Hello,

I decided to create my first project which will be a game. I am sure that implementing it will be a great way to develop practical skills. Theory is important, but we should to remember that without practice we cannot learn effectively. That is the reason why... I simply started creating my code 馃槑

At the beginning I planned points necessary to be realized. My project is going to be created piece by piece 馃槈

In first commit I created two classes Spider and SpidersCatalog. This allows me to create spiders. They are three models of different lengths.

Then I focused on creating environment for gameplay. For this purpose, I created the Encounter class and the EncounterService class.

The data to create the board (its height and width) are passed in the constructor of the Encounter class. I decided to set its height to 5 rows and width to 20 columns. 

The Encounter class provides for the existence of two boards. One hidden from the user and the other visible to him.

That is all for now! Work is in progress 馃挭

Regards!

napu