GithubHelp home page GithubHelp logo

console-sabacc's Introduction

Console Sabacc

Sabacc but in the console because im too lazy to make gui thing

TODO

  • Basic gameplay loop
  • Playable game with irl people
  • Playable game with AI/CPU
  • Fancy ASCII art

What is Sabacc🤓

Sabacc is a short and simple card game that comes from Star Wars. Unlike many games in Star Wars, this game can actually be played and there are a few different versions of it. The version that I'm recreating is called Corellian Spike.

How do you play

Before the game starts one player is selected to be the dealer.

Game setup

To start, the dealer sets up two different piles. The draw pile (face down), and the discard pile (face up). Then each player is given two random cards from the draw pile.

Gameplay

The aim of Sabacc is to get your cards closest to 0. There are positive cards, and negative cards. Your total score is the sum of the cards.

Every round players are given the chance to do one of three moves:

  • Draw - Take a card from the top of the draw pile and add it to your hand. And optionally discard one of your cards to the discard pile
  • Swap - Swap a card from your hand with the top card in the discard pile
  • Stand - Do nothing

Every player dose one of the three moves listed above, then once the dealer has finished their turn they roll the two spike dice. If both faces match everyone places their cards face up on the discard pile and is given new cards equal to the amount of cards that they jut had.

After the dice has been rolled three times all players reveal their cards, and the player with the score closer to 0 wins.

console-sabacc's People

Watchers

 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.