Skip to content

Commit

Permalink
Merge branch 'main' into first-person-shooter
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacharyPatten authored Dec 11, 2023
2 parents 5ab5e4f + f91a6cf commit d7af761
Show file tree
Hide file tree
Showing 352 changed files with 11,157 additions and 763,515 deletions.
15 changes: 13 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# You can learn more about editorconfig here: https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference
[*.cs]

#use hard tabs for indentation
indent_style = tab

# IDE0160: Convert to file-scoped namespace
Expand All @@ -17,4 +16,16 @@ dotnet_diagnostic.CA1050.severity = none
dotnet_diagnostic.IDE0028.severity = none

# RS0030: Do not used banned APIs
dotnet_diagnostic.RS0030.severity = error
dotnet_diagnostic.RS0030.severity = error

# CA1510: Use ArgumentNullException throw helper
dotnet_diagnostic.CA1510.severity = none

# CA1512: Use ArgumentOutOfRangeException throw helper
dotnet_diagnostic.CA1512.severity = none

# IDE0290: Use primary constructor
dotnet_diagnostic.IDE0290.severity = none

# IDE0270: Use coalesce expression
dotnet_diagnostic.IDE0270.severity = none
8 changes: 4 additions & 4 deletions .github/resources/dotnet-badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion .github/workflows/2048 Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\2048\2048.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Battleship Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Battleship\Battleship.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Beep Pad Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Beep Pad\Beep Pad.csproj" --configuration Release
9 changes: 5 additions & 4 deletions .github/workflows/Binaries Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- '**.csproj'
- '**.cs'
- '!**.md'
- '!Projects/Website/**'
workflow_dispatch:
jobs:
deployment:
Expand All @@ -19,13 +20,13 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: dotnet publish win-x64
run: dotnet publish dotnet-console-games.slnf --output bin/win-x64 --configuration Release -p:PublishSingleFile=true --runtime win-x64 --self-contained -p:DebugType=embedded -p:PublishTrimmed=true -p:EnableTrimAnalyzer=false
run: dotnet publish dotnet-console-games.slnf --output bin/win-x64 --configuration Release -p:PublishSingleFile=true --runtime win-x64 --self-contained -p:DebugType=embedded -p:PublishTrimmed=true
- name: dotnet publish osx-x64
run: dotnet publish dotnet-console-games.slnf --output bin/osx-x64 --configuration Release -p:PublishSingleFile=true --runtime osx-x64 --self-contained -p:DebugType=embedded -p:PublishTrimmed=true -p:EnableTrimAnalyzer=false
run: dotnet publish dotnet-console-games.slnf --output bin/osx-x64 --configuration Release -p:PublishSingleFile=true --runtime osx-x64 --self-contained -p:DebugType=embedded -p:PublishTrimmed=true
- name: dotnet publish linux-x64
run: dotnet publish dotnet-console-games.slnf --output bin/linux-x64 --configuration Release -p:PublishSingleFile=true --runtime linux-x64 --self-contained -p:DebugType=embedded -p:PublishTrimmed=true -p:EnableTrimAnalyzer=false
run: dotnet publish dotnet-console-games.slnf --output bin/linux-x64 --configuration Release -p:PublishSingleFile=true --runtime linux-x64 --self-contained -p:DebugType=embedded -p:PublishTrimmed=true
- name: CODEOWNERS
run: echo "* @ZacharyPatten" > bin/CODEOWNERS
- name: push to binaries branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Blackjack Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Blackjack\Blackjack.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Bound Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Bound\Bound.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Checkers Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Checkers\Checkers.csproj" --configuration Release
20 changes: 20 additions & 0 deletions .github/workflows/Clicker Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Clicker Build
on:
push:
paths:
- 'Projects/Clicker/**'
- '!**.md'
pull_request:
paths:
- 'Projects/Clicker/**'
- '!**.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- run: dotnet build "Projects\Clicker\Clicker.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Connect 4 Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Connect 4\Connect 4.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Console Monsters Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Console Monsters\Console Monsters.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Darts Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Darts\Darts.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Dice Game Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Dice Game\Dice Game.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Draw Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Draw\Draw.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Drive Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Drive\Drive.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Duck Hunt Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Duck Hunt\Duck Hunt.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Fighter Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Fighter\Fighter.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Flappy Bird Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Flappy Bird\Flappy Bird.csproj" --configuration Release
20 changes: 20 additions & 0 deletions .github/workflows/Flash Cards Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Flash Cards Build
on:
push:
paths:
- 'Projects/Flash Cards/**'
- '!**.md'
pull_request:
paths:
- 'Projects/Flash Cards/**'
- '!**.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- run: dotnet build "Projects\Flash Cards\Flash Cards.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Gravity Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Gravity\Gravity.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Guess A Number Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Guess A Number\Guess A Number.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Hangman Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Hangman\Hangman.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Helicopter Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Helicopter\Helicopter.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Hurdles Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Hurdles\Hurdles.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Mancala Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Mancala\Mancala.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Maze Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Maze\Maze.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Memory Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Memory\Memory.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Minesweeper Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Minesweeper\Minesweeper.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Oligopoly Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Oligopoly\Oligopoly.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/PacMan Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\PacMan\PacMan.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Pong Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Pong\Pong.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Quick Draw Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Quick Draw\Quick Draw.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Rock Paper Scissors Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Rock Paper Scissors\Rock Paper Scissors.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Role Playing Game Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Role Playing Game\Role Playing Game.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Roll And Move Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Roll And Move\Roll And Move.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Rythm Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Rythm\Rythm.csproj" --configuration Release
20 changes: 20 additions & 0 deletions .github/workflows/Shmup Build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Shmup Build
on:
push:
paths:
- 'Projects/Shmup/**'
- '!**.md'
pull_request:
paths:
- 'Projects/Shmup/**'
- '!**.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- run: dotnet build "Projects\Shmup\Shmup.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Simon Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Simon\Simon.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Sliding Puzzle Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Sliding Puzzle\Sliding Puzzle.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Snake Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Snake\Snake.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Sudoku Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Sudoku\Sudoku.csproj" --configuration Release
2 changes: 1 addition & 1 deletion .github/workflows/Tanks Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- run: dotnet build "Projects\Tanks\Tanks.csproj" --configuration Release
Loading

0 comments on commit d7af761

Please sign in to comment.