Thursday, April 27, 2023

The Core of the Project is Completed

Hello,

my game is now fully playable. I finished working on its core!

The next step I planned to take care of a good user experience 😊

Regards!

napu

Tuesday, April 18, 2023

Reactions to the User Input

Hello,

in the lastest part of the works I made a lot of things 💪

I prepared the system enabling to use user input in code as integers. The extracted integers serve as board's location points. They are indexes of board's cells.

I added the health and the id attributes to the spider class. Health and id are parameters of spider constructor. Id is based on row where spider's skin pattern was put. Health is a value from enum.

Initially I was thinking of using the length of spider's skin pattern as health but that would be too boring.

I introduced creating spiders as objects after putting their skins patterns on the board. 

The amount of spider objects is a condition that determines the continuation of the game.

The main class has now the possibility to run the game.

Another challenge concerns working with spider remnants and then with the visible game board. 

It is important to show the correct board to the user 😉

Regards!

napu

Monday, April 17, 2023

Arrangement of Coordinates

Hello,

I noticed that I need one more important thing related to coordinates for further work 😉


Currently, my code supports working on validation and arrangement of coordinates. 
The coordinate template's order for further work is a number then a capital letter.

Next step will be releated to an action on user input 💪

Regards!

napu

Friday, April 14, 2023

Coordinates Input and Validation

Hello,

I created a mechanism for a user input. Coordinates will be required for operations on board cells 😎


I took care of validation of the input. My code checks input length and looks for a number. Program sets index for that number. Treats the second character as a letter. If both characters belong to the correct scope, the validation result is true 👍

Regards!

napu