Skip to content

elliott-king/drawful-1.5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Drawful 1.5!

A fun little clone of Drawful

logo

Grab a few friends and play here

Made with Rails api on the backend, vanilla JS on the front. Hosted on Github pages & Heroku, with the images on S3.

Gameplay

You will be given a prompt, which you will then have to draw. Each of your friends will see your drawing, and will attempt to guess the correct prompt. Yes, it will be completely unfair.

drawing based on prompt
Draw!
submitting a guess for a drawing
Submit bogus prompts to confuse your opponents!
guessing on another drawing
Guess on your friend's drawings!

Setup

You can download with git clone and set up with

  1. bundle install
  2. rails db:setup
  3. rails db:schema:load
  4. rails db:migrate

Technical Notes

For Heroku, we can only push the subtree with the app. See:

https://coderwall.com/p/ssxp5q/heroku-deployment-without-the-app-being-at-the-repo-root-in-a-subfolder

git subtree push --prefix drawful-backend heroku master

Guide for setting up w/ Github Pages:

https://medium.com/@angelospmusic/heroku-rails-api-javascript-front-end-9dfc06663624

Guide for using S3, Heroku & Rails API together:

https://medium.com/@eking_30347/uploading-files-to-amazon-s3-with-a-rails-api-and-javascript-frontend-672a7f90ce05?source=friends_link&sk=0fccafc8f26db342e2e276a8b571a1b9

Disclaimer

We do not own the rights to any Drawful content. This is merely a tribute.