const person = {
name: " Akinlade Tope",
age: 27,
pronouns: [ "he", "him" ],
personality: [ "Bubbly", "Fun" ],
semicolons: false,
line_endings: "crlf",
codeStyle: "Prettier",
variables: "camelCase",
trailing_comma: true,
hero: "Bill Gates",
hobbies: [ "Programming", "Swimming", "Gaming", "Touring", "Gaining Knowledge", ],
knowledge: [ "Data Analysis", "Algorithms","Web Development", "Ecmascript", "Numbers",],
projects: [ "To-do List","LeaderBoard"],
languages: [ "Ecmascript6","HTML", "CSS", ],
editors: [ "VS Code", ],
newLanguage() {
console.log("Hello, World!")
},
favGames (game) {
const bestGames = [ "FIFA", "NFS", "GTAIV", "MIDNIGHTCLUB",
"MAXPAYNE3" ]
const favorite = JSON.parse(fs.readFileSync("favoriteGame.json"))
if (bestGames.includes(game)) {
console.log("I love this game, let's play");
} else if (favorite.includes(game)) {
console.log("I can try it out")
} else {
console.log("Bleeh...Let's try aother game");
}
},
}
mckent05 / capstone_project Goto Github PK
View Code? Open in Web Editor NEWThis is my first Microverse project, it introduces aspiring students to the portal, (considered the toughest module in microverse), and how to seamlessly work through the first few weeks in microverse.