Code Monkey home page Code Monkey logo

crossm4tch's People

Contributors

tjasz avatar

Watchers

 avatar

crossm4tch's Issues

Settings: Board Size

Allow the user to select a range of board sizes from 3x3 up to 9x9. Adjust the instructions and display to accomodate.

Make all factorizations into winning rectangles

In the 12x12 board, only the closest rectangle to a square (3x4 or 4x3) is counting as a winning collection. This is up for debate, but after a bit of play testing, it feels like 2x6 and 6x2 rectangles should also count as winning collections.

Settings: Difficulty of AI opponent

Allow the user to choose the difficulty of the AI opponent. Do this by either varying the search depth (those on slower hardware might like this) or the probably that the AI intentionally makes a mistake. Or both.

Statistics

Track a devices' win/loss statistics against the computer (separated by difficulty, maybe board size).

Ex: current streak. best streak. win percentage.

Add non-local multiplayer

Not necessarily with a full server.

Potentially, with a URL parameter containing the hash of the board (for the 4x4 board, easy to represent board in 8 bytes, since each cell takes 2 bits for the color and 2 bits for the number), hash of the cell states (2 bits for each cell), and either position or category info of the last tile. Not as easy as playing together on a server, but players could just send URLs with these parameters back and forth.

Using new URLSearchParams(window.location.search).get(...);

Settings: Who goes first

Allow the user to select who goes first. Options:

  • Human
  • Computer
  • Alternate
  • Random
  • Winner
  • Loser

Accommodate color-blind users

The current scheme represents categories with numerals 1, 2, 3, 4 (good) and colors red, blue, green, yellow (hard for red-green colorblind users). Consider using shapes, shading or other indicators for the second category.

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.