8
8
- Command-line and UI variants.
9
9
- Strips comments, ` using ` directives, and ` namespace ` blocks
10
10
- Outputs a single readable output file with the following features:
11
- - File headers
12
- - Line numbers
13
- - Cleaned source code
11
+ - File headers
12
+ - Line numbers
13
+ - Cleaned source code
14
14
- Skips generated and irrelevant files (e.g. ` .designer.cs ` , ` bin ` , ` obj ` , ` .resx ` , etc.)
15
15
16
16
## Command Line Usage
@@ -32,20 +32,20 @@ CodeIngest *.cs;*.cpp SourceDump.code
32
32
// File: GameState.cs
33
33
20 | public class GameState :IAiGameState
34
34
21|{
35
- 22|private readonly Vector2 [] m_bats ;
35
+ 22|private readonly Vector2[]m_bats;
36
36
23|private readonly Vector2 m_ballPosition ;
37
37
24|private readonly Vector2 m_ballVelocity ;
38
38
25|private readonly int m_arenaWidth ;
39
39
26|private readonly int m_arenaHeight ;
40
- 28|public GameState (Vector2 [] bats ,Vector2 ballPosition ,Vector2 ballVelocity ,int arenaWidth ,int arenaHeight )
40
+ 28|public GameState (Vector2[]bats,Vector2 ballPosition ,Vector2 ballVelocity ,int arenaWidth ,int arenaHeight )
41
41
29|{
42
42
30 | m_bats = bats ;
43
43
31 | m_ballPosition = ballPosition ;
44
44
32 | m_ballVelocity = ballVelocity ;
45
45
33 | m_arenaWidth = arenaWidth ;
46
46
34 | m_arenaHeight = arenaHeight ;
47
47
35 | }
48
- 37|public double [] ToInputVector ()
48
+ 37|public double[]ToInputVector ()
49
49
38|{
50
50
39 | var inputVector = new double [Brain .BrainInputCount ];
51
51
42 | inputVector [0 ]= m_bats [0 ].Y / m_arenaHeight * 2 . 0 f - 1 . 0 f ;
0 commit comments