DEV Community

Discussion on: What was your win this week?

Collapse
 
scrabill profile image
Shannon Crabill

I passed my Rails & Javascript review a few hours ago! I did not realize there would be a quiz, and after stumbling in the beginning (I'm looking at you hoisting and scope) but my instructor said I was the first one so far to correctly answer the last function/scope quiz question.

I built a game in vanilla JS with a ruby on rails backend for my project. It was a lot of fun! I'll write some more posts about my process, etc when I have time. For now, it can be played and downloaded locally.

GitHub logo scrabill / food-or-foe

How many food emoji can you correctly identify in 30 seconds?

Food or Foe?

How many food emoji can you correctly identify in 30 seconds?

Each correct answer is worth 1 point. A wrong answer decreases your score by 1 point.

At the end of a round, add your name and score to the leaderboard!

Happy guessing!

Screnshot of Food or Foe?

Installation

git clone https://github.com/scrabill/food-or-foe.git
cd food-or-foe/backend
rails db:migrate
rails db:seed
rails s

To play, open frontend/index.html in a browser. If you encounter any bugs or glitches while playing, please open an issue so that I can look into finding a fix.

API Endpoints

Food or Foe? has three models, each of which can be accessed at the following endpoints.

Contributing

Is this game missing your favorite emoji?

To contribute, please make a pull request with at least the name of the emoji, it's character and if it is a food or not to the backend/db/seeds.rb file.

Here's how I would…