Giter Site home page Giter Site logo

block-blitz's Introduction

Block Blitz

Block Blitz a puzzle game allowing you to play competitively or solo. Rearrange the puzzle pieces to complete the images. When playing competitively winning against your opponent will increase your stats and help you climb the leaderboard.

Block Blitz was created as the final project in the Lighthouse Labs Web Developement Bootcamp. Block Blitz runs on an Express NodeJS server. The client side of the app was built using EJS, jQuery and Sass and the puzzle uses Packery and Draggabilly modules. Socket.io handles realtime communication between server and client which allows for our lobby and matchmaking. A PostgreSQL database was utilized through KnexJS middleware.

Contributors

  • Mark Zsombor
  • Reid Naaykens
  • Catherine Hrynuik
  • Kelsey Cooper

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. Visit blockblitz.live to see the deployed app.

Clone or download project

Via SSH

In your command line run git clone [email protected]:Block-Blitz/take-2.git <dir_name>

Install Dependancies

In the program directory run npm install

Set up database

Create a .env file by using .env.example as a reference: cp .env.example .env

Create a Postgres database createdb <db_name>

Update the .env file with database name.

Run migrations knex migrate:latest

Start server

Type npm start in your command line.

Open application in your browser

localhost:8080

Dependencies

  • bcrypt
  • body-parser
  • connect-flash
  • cookie-session
  • dotenv
  • draggabilly
  • ejs
  • express
  • jquery
  • knex
  • knex-logger
  • morgan
  • node-sass
  • node-sass-middleware
  • packery
  • socket.io
  • socket.io-client
  • uuid
  • swearjar

Images from the Application

Homepage "Screenshot of homepage"

Login page "Screenshot of login_page"

Register page "Screenshot of register_page"

User dashboard "Screenshot of user_dashboard"

Game play view "Screenshot of game_play_view"

Game winner view "Screenshot of game_winner_view"

Game loser view "Screenshot of game_loser"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.