Giter Club home page Giter Club logo

matchinggame's People

Contributors

simonbromberg avatar

Watchers

 avatar

matchinggame's Issues

Replace `squareSize` in `MatchingContentView` initializer

Instead of a squareSize CGFloat parameter, could determine how many squares to display based on the content of matchables. MatchingContentView could have an internal minimum/maximum square size based on the screen but otherwise can rely on the caller to pass the desired number of squares.

Note the matchables array will be doubled so that should be considered when passing in the array.

Or the initializer should allow specifying a number of columns and/or rows?

Way to reset grid etc

Suppose needs a toolbar at the bottom with a couple buttons
Or maybe a swipe gesture could reveal it

Configurable colours, sounds

Colours and sounds are hardcoded. Should be configurable at the top level. Probably using modifiers.

Suppose the card backs could be more than just a solid colour, e.g. some custom View

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.