ElectionsBot/src/elections/1789.ts

92 lines
2.2 KiB
TypeScript
Raw Normal View History

2024-06-04 02:30:04 -04:00
import { readFile } from "node:fs/promises";
import Election from "../election.js";
import VoteType from "../VoteType.js";
2024-06-04 02:30:04 -04:00
const Presidential_1789 = {
title: "1789 United States Presidential Election Simulator",
shortname: "1789",
description: "The CalubViem Press has rewritten history and called the 1789 United States Presidential Election for $WINNER!",
voteType: VoteType.Electoral,
2024-06-04 02:30:04 -04:00
svg: await readFile("assets/ElectoralCollege1789.svg", "utf-8"),
candidates: [
{
name: "George Washington",
party: "Independent",
color: "#bfab22",
}
],
states: {
"CT": {
2024-07-23 02:58:50 -04:00
population: 0,
2024-06-04 02:30:04 -04:00
electoralVotes: 7,
odds: {
"Independent": 1,
}
},
"DE": {
2024-07-23 02:58:50 -04:00
population: 522,
2024-06-04 02:30:04 -04:00
electoralVotes: 3,
odds: {
"Independent": 1,
}
},
"GA": {
2024-07-23 02:58:50 -04:00
population: 0,
2024-06-04 02:30:04 -04:00
electoralVotes: 5,
odds: {
"Independent": 1,
}
},
"MD": {
2024-07-23 02:58:50 -04:00
population: 15829,
2024-06-04 02:30:04 -04:00
electoralVotes: 6,
odds: {
"Independent": 1,
}
},
"MA": {
2024-07-23 02:58:50 -04:00
population: 3880,
2024-06-04 02:30:04 -04:00
electoralVotes: 10,
odds: {
"Independent": 1,
}
},
"NH": {
2024-07-23 02:58:50 -04:00
population: 1764,
2024-06-04 02:30:04 -04:00
electoralVotes: 5,
odds: {
"Independent": 1,
}
},
"NJ": {
2024-07-23 02:58:50 -04:00
population: 0,
2024-06-04 02:30:04 -04:00
electoralVotes: 6,
odds: {
"Independent": 1,
}
},
"PA": {
2024-07-23 02:58:50 -04:00
population: 7383,
2024-06-04 02:30:04 -04:00
electoralVotes: 10,
odds: {
"Independent": 1,
}
},
"SC": {
2024-07-23 02:58:50 -04:00
population: 0,
2024-06-04 02:30:04 -04:00
electoralVotes: 7,
odds: {
"Independent": 1,
}
},
"VA": {
2024-07-23 02:58:50 -04:00
population: 668,
2024-06-04 02:30:04 -04:00
electoralVotes: 10,
odds: {
"Independent": 1,
}
}
}
}
export default Presidential_1789 as Election;