Skip to content

jacktwork/Battleships

Repository files navigation

Interview test project - lots of work - never heard from potential employer.

Instead of letting this work go to waste I am using this test project as an example of my work.

I used SOLID principles and one design pattern in this project.

The SOLID principles were as follows.

S = created classes with single responsibilities. Ex. Ship, Grid, Vector. O = extended classes instead of modifies. Ex. StandardGrid, StandardLocationFormat. L = No alterations which would not rest well with Liskov. I = created interfaces which only included absolute essentials and were concise. Ex. IShip, IGrid. D = created dependency abstractions. Ex. AShip, ILocationFormat

The design pattern was the factory pattern. The factory pattern was used to create ships.

About

A C# interview test project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages