Git Product home page Git Product logo

goofspiel's Introduction

Goofspiel

Goofspiel is a two player card game web application developed by gitvijayy and JerChuang for the Lighthouse labs web development bootcamp midterm project.

The application allows players to choose their usernames, and play a game of Goofspiel against another player.

Card Game Rules

Goofspiel is a two player card game where each player receives a suit of cards, and use the cards in their hands to bid for a the cards in a third suit that's designated as prize cards.

On each turn, a card from the prize suit is revealed, and the players have to place a card from their hand. The player with the bigger card will win the prize cards. On tie conditions, the prize card will be discarded.

The cards are worth their face value in points, with A being worth 1 point, J worth 11 points, Q worth 12 points, and K worth 13 points.

The game ends when there's no more prize cards left. On game end, each player count their total number of points and determine who's the winner

##Final Product "Login page" "Gameplay"

Getting Started

  1. Clone this repository
  2. Update the .env file with your correct local information
  3. Install dependencies: npm i
  4. Fix to binaries for sass: npm rebuild node-sass
  5. Run migrations: npm run knex migrate:latest
  • Check the migrations folder to see what gets created in the DB
  1. Run the server: npm run local
  2. Visit http://localhost:8080/

Dependencies

  • Node 5.10.x or above
  • NPM 3.8.x or above
  • "body-parser": "^1.15.2",
  • "dotenv": "^2.0.0",
  • "ejs": "^2.4.1",
  • "express": "^4.13.4",
  • "knex": "^0.16.5",
  • "knex-logger": "^0.1.0",
  • "morgan": "^1.7.0",
  • "node-sass-middleware": "^0.9.8",
  • "pg": "^6.0.2"

goofspiel's People

Contributors

7822vijay avatar jerry-chuang avatar rafd avatar kvirani avatar meech-ward avatar

Stargazers

Sue avatar

Watchers

James Cloos avatar

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.