Git Product home page Git Product logo

solitaire's Introduction

solitaire's People

Contributors

danielricci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

solitaire's Issues

Window Icon (Windows)

Get the window icon to show when the game starts.

This icon should work in both Windows and MacOS

Card backside

Add to the game the backside of the card. This should be put within its own layer, so that within ththe game we can use a component property within th card model to show This.

As more cards are introduced we can have the user change the card backside to something else or introduce a new feature to allow users to upload their own card backside

Card lighting up

When a valid operation has occurred, the card should light up. This needs to be designed in such a way where eventually this can be easily toggled on/off

Backside

Support backside of cards. When a backside is shown it should not be draggable

PileView backside

When a backside is the only thing shown, usually after performing a drag operation, clicking on the empty card should reveal it, and should then become draggable and collidable

Options - Outline dragging on/off

  • Card selection outline [Done]
    Based on the card(s) that are being selected for collision. either from the talon view, foundation view, or card(s) from the pile views, the cards should remain in place, and instead a bordered outline should be shown

  • Card collision [Done]
    When a valid collision has been detected, take the underlying image and perform an XOR bitmask operating on each pixel of the image using the color White. You can revert this back by performing the same operation

  • Border outline Color [IN PROGRESS]
    Taking the color of the underlying pixels and xor'ing it with white will yield the color of the border

FoundationView Render

The foundation view is a view that accepts face up cards. Initially when rendering this view they should depict a marquee like shape until an initial ace card is dragged over it.

This task is to render the view and not to handle dragging onto the square for now

PileView

This view when initially rendered will display playable cards to the user.

This task is to render those said cards in such a way that they extend vertically with its frontward most card showing and the rest showing its backside.

StockView render

The stock view is a view that contains the leftover cards after the cards have been properly distributed on the board.

Rendering this view will show a single backside within it’s view.

This task does not include the click event for when the card is clicked, that will come afterwards.

Click on undo should undo the last move played

The undo should be the last move performed. This should be limited to one breadcrumb trail.

Cards

  • Any card that is shown, an undo should no longer show that card, it should show what was previously there.
  • Any drag that occurs should be reverted back to where it previously was.
    Scoring
  • Whatever the previous score was, should be put back as well

Debugger: Card Placeholder

There needs to be a way to toggle the display of the non-visible card placeholders, add this within the debugger

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.