GithubHelp home page GithubHelp logo

kangasta / pileon Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 1.7 MB

Pileon solitaire game

Home Page: https://pileon.net

License: MIT License

CSS 1.66% HTML 1.68% JavaScript 1.61% Svelte 54.38% TypeScript 40.67%
game pileon playing-cards playingcards solitaire

pileon's People

Contributors

dependabot[bot] avatar kangasta avatar

Watchers

 avatar  avatar  avatar

pileon's Issues

Fix svelte-check warnings

  • Fix svelte-check warnings. Run npm run eslint or npm run check to list these.
  • Remove "svelte/valid-compile": "warn", override from eslint configuration.

Add detection for multiple infinite-loops

  • Extend infinite-loop detection logic to detect multiple infinite-loops.
  • Update the message in Dead end modal.
  • Include related cards in the Dead end modal message.

#95 Has a new unit-test that should pass after this has been fixed: example piles to re-produce:

const piles = [
  new Cards("J♠ Q♠ 7♥ 7♦"),
  new Cards("K♥ 4♣ 7♠"),
  new Cards("J♥ J♦ Q♦ Q♣"),
  new Cards("4♦ K♠ Q♥"),
];

Add keyboard shortcuts for stacks

Short-cuts could be, for example:

Q W E R T
A S D F G
Z X C V B

This would only work in landscape mode, but that is likely more common with keyboard users. Implement so that the short-cuts are logical on non-QWERTY keyboards (e.g., German or French layouts). Keydown event from these keys should focus the target stack.

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.