Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# whack-a-mole-core-lib
# whack-a-mole-core-lib

This repository contains the core libraries for the Whack-a-Mole game.

Architectural decisions are recorded [here](./docs/adr-toc.md)
4 changes: 4 additions & 0 deletions adr.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"path": "docs\\adr",
"templates": "docs\\adr-templates"
}
19 changes: 19 additions & 0 deletions docs/adr-templates/Ad.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# {RecordId}. {Title}

{DateTime}{Supersedes}

## Status

{Status}

## Context

{Context}

## Decision

{Decision}

## Consequences

{Consequences}
19 changes: 19 additions & 0 deletions docs/adr-templates/Init.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# {RecordId}. {Title}

{DateTime}{Supersedes}

## Status

{Status}

## Context

{Context}

## Decision

{Decision}

## Consequences

{Consequences}
14 changes: 14 additions & 0 deletions docs/adr-toc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# ADR Documentation

__Date__ : Wednesday, 17 January 2024 11:06:43

This file contains the table of contents for the architecture decision records.
It is auto generated by the adr-cli tool and manual modifications are overwritten.

# Table of contents

| Adr | Title | Status |
| --- | ----- | ------ |
| 1 | [Record Architecture Decisions initialization](..\docs\adr\00001-record-architecture-decisions-initialization) | Accepted |
| 2 | [Programming language and version](..\docs\adr\00002-programming-language-and-version) | New |

10 changes: 10 additions & 0 deletions docs/adr/00001-record-architecture-decisions-initialization.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"DateTime": "2024-01-17T00:00:00+01:00",
"FileName": "00001-record-architecture-decisions-initialization",
"RecordId": 1,
"Status": "Accepted",
"TemplateType": "Init",
"Title": "Record Architecture Decisions initialization",
"Context": "",
"References": {}
}
21 changes: 21 additions & 0 deletions docs/adr/00001-record-architecture-decisions-initialization.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 00001. Record Architecture Decisions initialization

2024-01-17

## Status

__Accepted__

## Context

Architecture for agile projects has to be described and defined differently. Not all decisions will be made at once, nor will all of them be done when the project begins.

## Decision

We will keep a collection of records for "architecturally significant" decisions: those that affect the structure, non-functional characteristics, dependencies, interfaces, or construction techniques.

## Consequences

See [cognitect 2011.11.15](https://cognitect.com/blog/2011/11/15/documenting-architecture-decisions) for more information about ADR's.

This documentation is created using the (adr-cli tool)[https://github.com/gjkaal/adr-cli].
10 changes: 10 additions & 0 deletions docs/adr/00002-programming-language-and-version.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"DateTime": "2024-01-17T00:00:00+01:00",
"FileName": "00002-programming-language-and-version",
"RecordId": 2,
"Status": "New",
"TemplateType": "Ad",
"Title": "Programming language and version",
"Context": "",
"References": {}
}
19 changes: 19 additions & 0 deletions docs/adr/00002-programming-language-and-version.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 00002. Programming language and version

2024-01-17

## Status

__New__

## Context

This ADR describes the codingh standards and programming language that is used for the core library.

## Decision

Coding is done in C# 12, for the net8.0 target platform.

## Consequences

Code that is ported from older code bases, may need some rework. See [C# language version](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/configure-language-version)