mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-06 18:14:27 -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");
|
||||
@@ -49,7 +49,7 @@ function exceeded_grain()
|
||||
{
|
||||
print("HAMURABI: THINK AGAIN. YOU HAVE ONLY\n");
|
||||
print(s + " BUSHELS OF GRAIN. NOW THEN,\n");
|
||||
|
||||
|
||||
}
|
||||
|
||||
function exceeded_acres()
|
||||
@@ -68,7 +68,7 @@ async function main()
|
||||
print("TRY YOUR HAND AT GOVERNING ANCIENT SUMERIA\n");
|
||||
print("FOR A TEN-YEAR TERM OF OFFICE.\n");
|
||||
print("\n");
|
||||
|
||||
|
||||
d1 = 0;
|
||||
p1 = 0;
|
||||
z = 0;
|
||||
|
||||
Reference in New Issue
Block a user