mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-02 08:10:45 -08:00
MAINT: Apply 'pre-commit run --all' and fix issues
This commit is contained in:
@@ -2,4 +2,3 @@
|
||||
20 PRINT "You entered: ";A;B;C
|
||||
30 PRINT "--------------------------"
|
||||
40 GOTO 10
|
||||
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
10 A=1: B=-2: C=0.7: D=123456789: E=-0.0000000001
|
||||
20 PRINT "|";A;"|";B;"|";C;"|";D;"|";E;"|"
|
||||
|
||||
|
||||
|
||||
@@ -2,5 +2,3 @@
|
||||
20 PRINT "2: ";RND(-2);RND(1);RND(1);RND(1)
|
||||
30 PRINT "3: ";RND(-5);RND(1);RND(1);RND(1)
|
||||
40 PRINT "4: ";RND(-2);RND(1);RND(1);RND(1)
|
||||
|
||||
|
||||
|
||||
@@ -88,4 +88,4 @@ public static class IRandomExtensions
|
||||
}
|
||||
|
||||
private static int ToInt(float value) => (int)Math.Floor(value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
[assembly:InternalsVisibleTo("Games.Common.Test")]
|
||||
[assembly:InternalsVisibleTo("Games.Common.Test")]
|
||||
|
||||
Reference in New Issue
Block a user