2024-06-05 18:57:45 -04:00
|
|
|
import { readFile } from "node:fs/promises";
|
|
|
|
import Election from "../election.js";
|
2024-06-18 21:57:56 -04:00
|
|
|
import VoteType from "../VoteType.js";
|
2024-06-05 18:57:45 -04:00
|
|
|
|
|
|
|
const Presidential_1968 = {
|
|
|
|
title: "1968 United States Presidential Election Simulator",
|
|
|
|
shortname: "1968",
|
|
|
|
description: "The CalubViem Press has rewritten history and called the 1968 United States Presidential Election for $WINNER!",
|
2024-06-18 21:57:56 -04:00
|
|
|
voteType: VoteType.Electoral,
|
2024-06-05 18:57:45 -04:00
|
|
|
svg: await readFile("assets/ElectoralCollege1968.svg", "utf-8"),
|
|
|
|
candidates: [
|
|
|
|
{
|
|
|
|
name: "Hubert Humphrey",
|
|
|
|
party: "Democratic",
|
|
|
|
color: "#1C408C",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Richard Nixon",
|
|
|
|
party: "Republican",
|
|
|
|
color: "#BF1D29",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "George Wallace",
|
|
|
|
party: "American Independent",
|
|
|
|
color: "#ffa400",
|
|
|
|
}
|
|
|
|
],
|
|
|
|
states: {
|
|
|
|
"AL": {
|
|
|
|
electoralVotes: 10,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.1,
|
|
|
|
"Democratic": 0.1,
|
|
|
|
"American Independent": 0.8,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"AK": {
|
|
|
|
electoralVotes: 3,
|
|
|
|
odds: {
|
|
|
|
"Republican": 1,
|
|
|
|
"Democratic": 0,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"AZ": {
|
|
|
|
electoralVotes: 5,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.6,
|
|
|
|
"Democratic": 0.4,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"AR": {
|
|
|
|
electoralVotes: 6,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.2,
|
|
|
|
"Democratic": 0.2,
|
|
|
|
"American Independent": 0.6,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"CA": {
|
|
|
|
electoralVotes: 40,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.6,
|
|
|
|
"Democratic": 0.4,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"CO": {
|
|
|
|
electoralVotes: 6,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.6,
|
|
|
|
"Democratic": 0.4,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"CT": {
|
|
|
|
electoralVotes: 8,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0,
|
|
|
|
"Democratic": 1,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"DE": {
|
|
|
|
electoralVotes: 3,
|
|
|
|
odds: {
|
|
|
|
"Republican": 1,
|
|
|
|
"Democratic": 0,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"DC": {
|
|
|
|
electoralVotes: 3,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0,
|
|
|
|
"Democratic": 1,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"FL": {
|
|
|
|
electoralVotes: 14,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.6,
|
|
|
|
"Democratic": 0.4,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"GA": {
|
|
|
|
electoralVotes: 12,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.2,
|
|
|
|
"Democratic": 0.2,
|
|
|
|
"American Independent": 0.6,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"HI": {
|
|
|
|
electoralVotes: 4,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.2,
|
|
|
|
"Democratic": 0.8,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ID": {
|
|
|
|
electoralVotes: 4,
|
|
|
|
odds: {
|
|
|
|
"Republican": 1,
|
|
|
|
"Democratic": 0,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"IL": {
|
|
|
|
electoralVotes: 26,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.6,
|
|
|
|
"Democratic": 0.4,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"IN": {
|
|
|
|
electoralVotes: 13,
|
|
|
|
odds: {
|
|
|
|
"Republican": 1,
|
|
|
|
"Democratic": 0,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"IA": {
|
|
|
|
electoralVotes: 9,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.8,
|
|
|
|
"Democratic": 0.2,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"KS": {
|
|
|
|
electoralVotes: 7,
|
|
|
|
odds: {
|
|
|
|
"Republican": 1,
|
|
|
|
"Democratic": 0,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"KY": {
|
|
|
|
electoralVotes: 9,
|
|
|
|
odds: {
|
|
|
|
"Republican": 1,
|
|
|
|
"Democratic": 0,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"LA": {
|
|
|
|
electoralVotes: 10,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.1,
|
|
|
|
"Democratic": 0.1,
|
|
|
|
"American Independent": 0.8,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ME": {
|
|
|
|
electoralVotes: 4,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.4,
|
|
|
|
"Democratic": 0.6,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"MD": {
|
|
|
|
electoralVotes: 10,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.45,
|
|
|
|
"Democratic": 0.55,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"MA": {
|
|
|
|
electoralVotes: 14,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0,
|
|
|
|
"Democratic": 1,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"MI": {
|
|
|
|
electoralVotes: 21,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.5,
|
|
|
|
"Democratic": 0.5,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"MN": {
|
|
|
|
electoralVotes: 10,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.4,
|
|
|
|
"Democratic": 0.6,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"MS": {
|
|
|
|
electoralVotes: 7,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.1,
|
|
|
|
"Democratic": 0.1,
|
|
|
|
"American Independent": 0.8,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"MO": {
|
|
|
|
electoralVotes: 12,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.55,
|
|
|
|
"Democratic": 0.45,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"MT": {
|
|
|
|
electoralVotes: 4,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.8,
|
|
|
|
"Democratic": 0.2,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"NE": {
|
|
|
|
electoralVotes: 5,
|
|
|
|
odds: {
|
|
|
|
"Republican": 1,
|
|
|
|
"Democratic": 0,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"NV": {
|
|
|
|
electoralVotes: 3,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.8,
|
|
|
|
"Democratic": 0.2,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"NH": {
|
|
|
|
electoralVotes: 4,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.8,
|
|
|
|
"Democratic": 0.2,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"NJ": {
|
|
|
|
electoralVotes: 17,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.55,
|
|
|
|
"Democratic": 0.45,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"NM": {
|
|
|
|
electoralVotes: 4,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.6,
|
|
|
|
"Democratic": 0.4,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"NY": {
|
|
|
|
electoralVotes: 43,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.45,
|
|
|
|
"Democratic": 0.55,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"NC": {
|
|
|
|
electoralVotes: 13,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.43,
|
|
|
|
"Democratic": 0.33,
|
|
|
|
"American Independent": 0.23,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ND": {
|
|
|
|
electoralVotes: 4,
|
|
|
|
odds: {
|
|
|
|
"Republican": 1,
|
|
|
|
"Democratic": 0,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"OH": {
|
|
|
|
electoralVotes: 26,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.6,
|
|
|
|
"Democratic": 0.4,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"OK": {
|
|
|
|
electoralVotes: 8,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.8,
|
|
|
|
"Democratic": 0.2,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"OR": {
|
|
|
|
electoralVotes: 6,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.6,
|
|
|
|
"Democratic": 0.4,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"PA": {
|
|
|
|
electoralVotes: 29,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.45,
|
|
|
|
"Democratic": 0.55,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"RI": {
|
|
|
|
electoralVotes: 4,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0,
|
|
|
|
"Democratic": 1,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"SC": {
|
|
|
|
electoralVotes: 8,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.43,
|
|
|
|
"Democratic": 0.33,
|
|
|
|
"American Independent": 0.23,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"SD": {
|
|
|
|
electoralVotes: 4,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.8,
|
|
|
|
"Democratic": 0.2,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"TN": {
|
|
|
|
electoralVotes: 11,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.43,
|
|
|
|
"Democratic": 0.23,
|
|
|
|
"American Independent": 0.33,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"TX": {
|
|
|
|
electoralVotes: 25,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.4,
|
|
|
|
"Democratic": 0.6,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"UT": {
|
|
|
|
electoralVotes: 4,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.8,
|
|
|
|
"Democratic": 0.2,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"VT": {
|
|
|
|
electoralVotes: 3,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.6,
|
|
|
|
"Democratic": 0.4,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"VA": {
|
|
|
|
electoralVotes: 12,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.4,
|
|
|
|
"Democratic": 0.3,
|
|
|
|
"American Independent": 0.3,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"WA": {
|
|
|
|
electoralVotes: 9,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.45,
|
|
|
|
"Democratic": 0.55,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"WV": {
|
|
|
|
electoralVotes: 7,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.45,
|
|
|
|
"Democratic": 0.55,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"WI": {
|
|
|
|
electoralVotes: 12,
|
|
|
|
odds: {
|
|
|
|
"Republican": 0.55,
|
|
|
|
"Democratic": 0.45,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"WY": {
|
|
|
|
electoralVotes: 3,
|
|
|
|
odds: {
|
|
|
|
"Republican": 1,
|
|
|
|
"Democratic": 0,
|
|
|
|
"American Independent": 0,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Presidential_1968 as Election;
|