Inspiration

We needed a sense of direction, so we decided to do something that dealt with the theme of this hackathon, aliens!

What it does

It's a mini game that models a slot machine. The premise is that you are taken hostage by aliens, and your only way out is to take part in a game of chance. If you get 3 of the same icons in a row (O or X), you win and get to choose who gets abducted instead of you. If you lose, you will be the one who feels the aliens' wrath. The code randomly generates the sequence, and prompts the user to enter the name of the person they want abducted when they win

How we built it

We utilized html, css, and javascript

Challenges we ran into

Our initial plans were to include some web scraping functionality for the project. We wanted to display a picture of the person from Wikipedia, if they are on there, along with their name. However, CORS prevented this from happening.

Accomplishments that we're proud of

We kept trying to work around the problems and learned a lot of new things.

What we learned

Client side execution does not recognize node.js functionality without help from other services. Some other things were different methods and syntax. Perhaps the biggest lesson was CORS and why its so important to web security.

What's next for Abduct or be Abducted

More abductions! Just kidding. The biggest objective after this is to learn more about frameworks and continue practicing full stack development.

Built With

Share this project:

Updates