Skip to content

Conversation

@jimbuck
Copy link
Owner

@jimbuck jimbuck commented Jan 2, 2025

Add a new example project that displays a red box on a black background and moves with arrow keys.

  • Create Ion.Examples/Ion.Examples.RedBox/Program.cs to set up the project, draw a red box, and implement movement with arrow keys.
  • Add Ion.Examples/Ion.Examples.RedBox/appsettings.json to configure the window size and title.
  • Add Ion.Examples/Ion.Examples.RedBox/Ion.Examples.RedBox.csproj to create a new project file for the RedBoxDemo.
  • Update Ion.sln to include the new project.

For more details, open the Copilot Workspace session.

Add a new example project that displays a red box on a black background and moves with arrow keys.

* Create `Ion.Examples/Ion.Examples.RedBox/Program.cs` to set up the project, draw a red box, and implement movement with arrow keys.
* Add `Ion.Examples/Ion.Examples.RedBox/appsettings.json` to configure the window size and title.
* Add `Ion.Examples/Ion.Examples.RedBox/Ion.Examples.RedBox.csproj` to create a new project file for the RedBoxDemo.
* Update `Ion.sln` to include the new project.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/jimbuck/Ion?shareId=XXXX-XXXX-XXXX-XXXX).
@jimbuck jimbuck changed the title Copilot Workspace Demo - Add RedBoxDemo example project feature: Copilot Workspace Demo - Add RedBoxDemo example project Jan 2, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jan 2, 2025

Summary

Generated on: 1/2/2025 - 6:03:59 PM
Coverage date: 1/2/2025 - 6:03:39 PM
Parser: MultiReport (3x Cobertura)
Assemblies: 6
Classes: 54
Files: 53
Line coverage: 17.5% (324 of 1843)
Covered lines: 324
Uncovered lines: 1519
Coverable lines: 1843
Total lines: 2615
Branch coverage: 15.5% (107 of 687)
Covered branches: 107
Total branches: 687
Method coverage: 19.8% (74 of 373)
Covered methods: 74
Total methods: 373
Tag: 65_12586640876
Name Covered Uncovered Coverable Total Line coverage Covered Total Branch coverage Covered Total Method coverage
Ion.Core 174 125 299 805 58.1% 49 108 45.3% 43 75 57.3%
HotReloadService 0 5 5 26 0% 0 4 0% 0 2 0%
Ion.BuilderExtensions 1 0 1 15 100% 0 0 1 1 100%
Ion.Core.GameLoop 24 43 67 143 35.8% 1 16 6.2% 3 6 50%
Ion.Debug.NullTraceTimer 0 1 1 20 0% 0 0 0 1 0%
Ion.Debug.NullTraceTimer`1 1 0 1 20 100% 0 0 1 1 100%
Ion.Event`1 1 1 2 7 50% 0 0 1 2 50%
Ion.EventEmitter 16 2 18 66 88.8% 2 2 100% 7 8 87.5%
Ion.EventListener 44 27 71 146 61.9% 44 80 55% 6 9 66.6%
Ion.EventSystem 6 0 6 18 100% 0 0 2 2 100%
Ion.IonApplication 38 4 42 122 90.4% 0 0 13 15 86.6%
Ion.IonApplicationBuilder 24 0 24 51 100% 0 0 4 4 100%
Ion.PersistentStorage 0 14 14 40 0% 0 0 0 6 0%
Ion.PersistentStorageProvider 0 20 20 69 0% 0 0 0 13 0%
Ion.RingBuffer`1 19 8 27 62 70.3% 2 6 33.3% 5 5 100%
Ion.Core.Abstractions 35 743 778 1076 4.4% 33 128 25.7% 9 119 7.5%
Ion.GameTime 0 1 1 31 0% 0 0 0 1 0%
Ion.MathHelper 0 46 46 319 0% 0 30 0% 0 17 0%
Ion.MemUtils 0 103 103 431 0% 0 40 0% 0 26 0%
Ion.MiddlewarePipelineBuilder 11 2 13 48 84.6% 8 12 66.6% 4 4 100%
Ion.SystemMiddlewareBinder 12 20 32 93 37.5% 9 22 40.9% 2 4 50%
Ion.UseDelegateServiceExtensions 0 532 532 0 0% 0 0 0 56 0%
Ion.UseSystemExtensions 12 1 13 65 92.3% 16 16 100% 3 3 100%
System.IO.BinaryExtensions 0 38 38 89 0% 0 8 0% 0 8 0%
Ion.Extensions.Debug.Abstractions 1 2 3 20 33.3% 0 0 **** 1 3 33.3%
Ion.Extensions.Debug.NullTimerInstance 1 1 2 13 50% 0 0 1 2 50%
Ion.Extensions.Debug.TraceTiming 0 1 1 7 0% 0 0 0 1 0%
Ion.Extensions.Scenes 104 16 120 327 86.6% 25 40 62.5% 19 27 70.3%
Ion.Extensions.Scenes.BuilderExtensions 14 0 14 35 100% 2 2 100% 2 2 100%
Ion.Extensions.Scenes.CurrentScene 6 1 7 33 85.7% 1 2 50% 2 3 66.6%
Ion.Extensions.Scenes.SceneBuilder 17 14 31 77 54.8% 0 0 2 9 22.2%
Ion.Extensions.Scenes.SceneSystem 67 1 68 182 98.5% 22 36 61.1% 13 13 100%
Ion.Extensions.Scenes.Abstractions 10 28 38 183 26.3% 0 28 0% 2 8 25%
Ion.Extensions.Scenes.EventEmitterExtensions 1 0 1 10 100% 0 0 1 1 100%
Ion.Extensions.Scenes.SceneInstance 9 0 9 22 100% 0 0 1 1 100%
Ion.Extensions.Scenes.Transition 0 17 17 106 0% 0 12 0% 0 4 0%
Ion.Extensions.Scenes.UseSystemExtensions 0 11 11 45 0% 0 16 0% 0 2 0%
Ion.Extensions.Scenes.Generators 0 605 605 224 0% 0 383 0% 0 141 0%
Ion.Extensions.Scenes.Generators.ScenesGenerator 0 53 53 138 0% 0 26 0% 0 7 0%
Ion.Extensions.Scenes.Generators.UseDelegateServicesSceneGenerator 0 29 29 86 0% 0 6 0% 0 6 0%
SourceGeneratorUtils.DefaultGenerationSpec 0 16 16 0 0% 0 12 0% 0 2 0%
SourceGeneratorUtils.DefaultSourceFileEmitter 0 7 7 0 0% 0 0 0 4 0%
SourceGeneratorUtils.ImmutableEquatableArray 0 3 3 0 0% 0 4 0% 0 3 0%
SourceGeneratorUtils.ImmutableEquatableArray`1 0 22 22 0 0% 0 12 0% 0 13 0%
SourceGeneratorUtils.KeyValuePairExtensions 0 6 6 0 0% 0 4 0% 0 1 0%
SourceGeneratorUtils.PropertyDesc 0 7 7 0 0% 0 2 0% 0 7 0%
SourceGeneratorUtils.RoslynExtensions 0 50 50 0 0% 0 71 0% 0 8 0%
SourceGeneratorUtils.SourceBuilder 0 26 26 0 0% 0 14 0% 0 11 0%
SourceGeneratorUtils.SourceBuilderExtensions 0 8 8 0 0% 0 6 0% 0 2 0%
SourceGeneratorUtils.SourceCodeEmitter`1 0 10 10 0 0% 0 2 0% 0 10 0%
SourceGeneratorUtils.SourceFileEmitter`1 0 84 84 0 0% 0 44 0% 0 13 0%
SourceGeneratorUtils.SourceFileEmitterBase`1 0 43 43 0 0% 0 20 0% 0 6 0%
SourceGeneratorUtils.SourceFileEmitterBaseOptions 0 1 1 0 0% 0 0 0 1 0%
SourceGeneratorUtils.SourceFileEmitterOptions 0 1 1 0 0% 0 0 0 1 0%
SourceGeneratorUtils.SourceWriter 0 64 64 0 0% 0 28 0% 0 17 0%
SourceGeneratorUtils.StringBuilderExtensions 0 3 3 0 0% 0 0 0 1 0%
SourceGeneratorUtils.StringHelpers 0 27 27 0 0% 0 16 0% 0 3 0%
SourceGeneratorUtils.TypeDesc 0 67 67 0 0% 0 56 0% 0 10 0%
SourceGeneratorUtils.TypeDescExtensions 0 55 55 0 0% 0 48 0% 0 6 0%
SourceGeneratorUtils.TypeRef 0 23 23 0 0% 0 12 0% 0 9 0%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants