mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-30 22:52:00 -08:00
MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be many adjustments necessary
This commit is contained in:
@@ -12,10 +12,10 @@ function input()
|
||||
{
|
||||
var input_element;
|
||||
var input_str;
|
||||
|
||||
|
||||
return new Promise(function (resolve) {
|
||||
input_element = document.createElement("INPUT");
|
||||
|
||||
|
||||
print("? ");
|
||||
input_element.setAttribute("type", "text");
|
||||
input_element.setAttribute("length", "50");
|
||||
@@ -440,7 +440,7 @@ async function main()
|
||||
p = p - wa[t] * y;
|
||||
print("\n");
|
||||
print("NET YARDS GAINED ON DOWN " + d + " ARE " + y + "\n");
|
||||
|
||||
|
||||
g = Math.random();
|
||||
if (g <= 0.025) {
|
||||
loss_posession();
|
||||
|
||||
@@ -12,10 +12,10 @@ function input()
|
||||
{
|
||||
var input_element;
|
||||
var input_str;
|
||||
|
||||
|
||||
return new Promise(function (resolve) {
|
||||
input_element = document.createElement("INPUT");
|
||||
|
||||
|
||||
print("? ");
|
||||
input_element.setAttribute("type", "text");
|
||||
input_element.setAttribute("length", "50");
|
||||
@@ -365,7 +365,7 @@ async function main()
|
||||
start = 3;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
// Gain or loss
|
||||
if (routine <= 1) {
|
||||
|
||||
Reference in New Issue
Block a user